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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.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/core/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 3f5d62f3176a6c02ef010ea34e7549e6210f1f0b..aa44b03fb6a0fb928ccd4e846dd227bc76963c85 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -2846,8 +2846,7 @@ void Internals::resetTypeAheadSession(HTMLSelectElement* select) {
bool Internals::loseSharedGraphicsContext3D() {
std::unique_ptr<WebGraphicsContext3DProvider> shared_provider =
- WTF::WrapUnique(Platform::Current()
- ->CreateSharedOffscreenGraphicsContext3DProvider());
+ Platform::Current()->CreateSharedOffscreenGraphicsContext3DProvider();
if (!shared_provider)
return false;
gpu::gles2::GLES2Interface* shared_gl = shared_provider->ContextGL();
« no previous file with comments | « third_party/WebKit/Source/core/dom/SecurityContext.cpp ('k') | third_party/WebKit/Source/modules/cachestorage/CacheStorage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698