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

Unified Diff: gpu/command_buffer/tests/gl_fence_sync_unittest.cc

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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: gpu/command_buffer/tests/gl_fence_sync_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_fence_sync_unittest.cc b/gpu/command_buffer/tests/gl_fence_sync_unittest.cc
index 50de9c19ac0ed46da07b45518ea5546efd637fef..5b37194ec6e3ce9611c8bb0bfb9f1b201d101e26 100644
--- a/gpu/command_buffer/tests/gl_fence_sync_unittest.cc
+++ b/gpu/command_buffer/tests/gl_fence_sync_unittest.cc
@@ -6,7 +6,8 @@
#include <GLES2/gl2ext.h>
#include <GLES2/gl2extchromium.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "gpu/command_buffer/common/sync_token.h"
#include "gpu/command_buffer/service/sync_point_manager.h"
#include "gpu/command_buffer/tests/gl_manager.h"
@@ -36,7 +37,7 @@ class GLFenceSyncTest : public testing::Test {
sync_point_manager_.reset();
}
- scoped_ptr<SyncPointManager> sync_point_manager_;
+ std::unique_ptr<SyncPointManager> sync_point_manager_;
GLManager gl1_;
GLManager gl2_;
};

Powered by Google App Engine
This is Rietveld 408576698