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

Unified Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.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/Canvas2DLayerBridge.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
index 9244154affac814f2e2de09a367fe468c921492f..5a6740b195b4bab48abac134a5aa5db27ca1389b 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
@@ -866,8 +866,8 @@ bool Canvas2DLayerBridge::RestoreSurface() {
gpu::gles2::GLES2Interface* shared_gl = nullptr;
layer_->ClearTexture();
- context_provider_ = WTF::WrapUnique(
- Platform::Current()->CreateSharedOffscreenGraphicsContext3DProvider());
+ context_provider_ =
+ Platform::Current()->CreateSharedOffscreenGraphicsContext3DProvider();
if (context_provider_)
shared_gl = context_provider_->ContextGL();

Powered by Google App Engine
This is Rietveld 408576698