Replace QuicheWrapUnique with absl::WrapUnique.
PiperOrigin-RevId: 338087012
Change-Id: I1a03bc4c6c5c0866bbce01ef34511f3292ad84c9
diff --git a/spdy/core/spdy_framer.cc b/spdy/core/spdy_framer.cc
index 58ce2b9..e5619df 100644
--- a/spdy/core/spdy_framer.cc
+++ b/spdy/core/spdy_framer.cc
@@ -11,8 +11,8 @@
#include <new>
#include <utility>
+#include "absl/memory/memory.h"
#include "net/third_party/quiche/src/http2/platform/api/http2_macros.h"
-#include "net/third_party/quiche/src/common/platform/api/quiche_ptr_util.h"
#include "net/third_party/quiche/src/spdy/core/spdy_bitmasks.h"
#include "net/third_party/quiche/src/spdy/core/spdy_frame_builder.h"
#include "net/third_party/quiche/src/spdy/core/spdy_frame_reader.h"
@@ -413,12 +413,12 @@
switch (frame_ir->frame_type()) {
case SpdyFrameType::HEADERS: {
return std::make_unique<SpdyHeaderFrameIterator>(
- framer, quiche::QuicheWrapUnique(
+ framer, absl::WrapUnique(
static_cast<const SpdyHeadersIR*>(frame_ir.release())));
}
case SpdyFrameType::PUSH_PROMISE: {
return std::make_unique<SpdyPushPromiseFrameIterator>(
- framer, quiche::QuicheWrapUnique(
+ framer, absl::WrapUnique(
static_cast<const SpdyPushPromiseIR*>(frame_ir.release())));
}
case SpdyFrameType::DATA: {