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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorStyleSheet.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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/inspector/InspectorStyleSheet.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.h b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.h
index 26d56ac691ea9166245077fdc00d662f93a6b46e..c4be85191a63215f22831f3ff20d9e611d7d510f 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.h
@@ -35,6 +35,7 @@
#include "wtf/RefPtr.h"
#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
+#include <memory>
namespace blink {
@@ -116,7 +117,7 @@ private:
String m_id;
Listener* m_listener;
- OwnPtr<LineEndings> m_lineEndings;
+ std::unique_ptr<LineEndings> m_lineEndings;
};
class InspectorStyleSheet : public InspectorStyleSheetBase {

Powered by Google App Engine
This is Rietveld 408576698