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

Unified Diff: content/renderer/renderer_blink_platform_impl.h

Issue 2480293004: Mandate unique_ptr for base::IDMap in IDMapOwnPointer mode. (Closed)
Patch Set: Rebase on some ScreenOrientation changes, update that stuff to use unique_ptr (the change I was sca… Created 4 years, 1 month 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: content/renderer/renderer_blink_platform_impl.h
diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h
index 278394646b62fecd13c7fbc060475668bd53a74a..09251de3d1e199cbf7f62daf534facb15e7168ae 100644
--- a/content/renderer/renderer_blink_platform_impl.h
+++ b/content/renderer/renderer_blink_platform_impl.h
@@ -241,8 +241,8 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
// Factory that takes a type and return PlatformEventObserverBase that matches
// it.
- static PlatformEventObserverBase* CreatePlatformEventObserverFromType(
- blink::WebPlatformEventType type);
+ static std::unique_ptr<PlatformEventObserverBase>
+ CreatePlatformEventObserverFromType(blink::WebPlatformEventType type);
// Use the data previously set via SetMockDevice...DataForTesting() and send
// them to the registered listener.

Powered by Google App Engine
This is Rietveld 408576698