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

Unified Diff: third_party/WebKit/Source/web/ColorChooserUIController.cpp

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/web/ColorChooserUIController.cpp
diff --git a/third_party/WebKit/Source/web/ColorChooserUIController.cpp b/third_party/WebKit/Source/web/ColorChooserUIController.cpp
index 8e5dccd94e057c7f23bece412a28026bc330d553..93ebd3c97a97c53b3c010e4e02da2220210eab9e 100644
--- a/third_party/WebKit/Source/web/ColorChooserUIController.cpp
+++ b/third_party/WebKit/Source/web/ColorChooserUIController.cpp
@@ -32,7 +32,6 @@
#include "public/web/WebColorSuggestion.h"
#include "public/web/WebFrameClient.h"
#include "web/WebLocalFrameImpl.h"
-#include "wtf/PtrUtil.h"
namespace blink {
@@ -99,7 +98,7 @@ void ColorChooserUIController::openColorChooser()
WebFrameClient* webFrameClient = frame->client();
if (!webFrameClient)
return;
- m_chooser = wrapUnique(webFrameClient->createColorChooser(
+ m_chooser = adoptPtr(webFrameClient->createColorChooser(
this, static_cast<WebColor>(m_client->currentColor().rgb()), m_client->suggestions()));
}
« no previous file with comments | « third_party/WebKit/Source/web/ColorChooserUIController.h ('k') | third_party/WebKit/Source/web/CompositorMutatorImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698