Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutAnalyzer.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutAnalyzer.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutAnalyzer.h b/third_party/WebKit/Source/core/layout/LayoutAnalyzer.h
index cda9ffb1d4e6233ddfa3498469862980df6aa906..00c7a0dd72d4041d7258551dc8e4c3fd8ced9e3a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutAnalyzer.h
+++ b/third_party/WebKit/Source/core/layout/LayoutAnalyzer.h
@@ -8,7 +8,7 @@
#include "platform/LayoutUnit.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
-#include <memory>
+#include "wtf/PassOwnPtr.h"
namespace blink {
@@ -82,7 +82,7 @@ public:
m_counters[counter] += delta;
}
- std::unique_ptr<TracedValue> toTracedValue();
+ PassOwnPtr<TracedValue> toTracedValue();
private:
const char* nameForCounter(Counter) const;

Powered by Google App Engine
This is Rietveld 408576698