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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix compilation (and again) Created 3 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: third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp b/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
index 1ec5e5163e9968ea9faf3ed08d98fc5b152c9319..3f0820f6671839ef2a83db9a92c4d83467de7f81 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
+++ b/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
@@ -21,8 +21,8 @@ std::unique_ptr<SharedContextRateLimiter> SharedContextRateLimiter::Create(
SharedContextRateLimiter::SharedContextRateLimiter(unsigned max_pending_ticks)
: max_pending_ticks_(max_pending_ticks), can_use_sync_queries_(false) {
- context_provider_ = WTF::WrapUnique(
- Platform::Current()->CreateSharedOffscreenGraphicsContext3DProvider());
+ context_provider_ =
+ Platform::Current()->CreateSharedOffscreenGraphicsContext3DProvider();
if (!context_provider_)
return;

Powered by Google App Engine
This is Rietveld 408576698