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

Unified Diff: content/shell/renderer/layout_test/leak_detector.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent Created 4 years, 8 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: content/shell/renderer/layout_test/leak_detector.h
diff --git a/content/shell/renderer/layout_test/leak_detector.h b/content/shell/renderer/layout_test/leak_detector.h
index 08f9a318d9b350c22b4fcc949873f9971fe55b7f..4a70c8bbd6e58708103e6b9f0c6fe7cf7fc1b942 100644
--- a/content/shell/renderer/layout_test/leak_detector.h
+++ b/content/shell/renderer/layout_test/leak_detector.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_LEAK_DETECTOR_H_
#define CONTENT_SHELL_RENDERER_LAYOUT_TEST_LEAK_DETECTOR_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/shell/common/leak_detection_result.h"
#include "third_party/WebKit/public/web/WebLeakDetector.h"
@@ -36,7 +37,7 @@ class LeakDetector : public blink::WebLeakDetectorClient {
private:
BlinkTestRunner* test_runner_;
- scoped_ptr<blink::WebLeakDetector> web_leak_detector_;
+ std::unique_ptr<blink::WebLeakDetector> web_leak_detector_;
blink::WebLeakDetectorClient::Result previous_result_;
DISALLOW_COPY_AND_ASSIGN(LeakDetector);

Powered by Google App Engine
This is Rietveld 408576698