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

Unified Diff: content/renderer/renderer_blink_platform_impl.h

Issue 2480293004: Mandate unique_ptr for base::IDMap in IDMapOwnPointer mode. (Closed)
Patch Set: Make changes requested by danakj, fix a few more headers 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 15d386c960cdb9bba8cb39bba13f7767e56e1ecb..fb2c5aac52e8ff067ea8b435bc45e83e8ec12840 100644
--- a/content/renderer/renderer_blink_platform_impl.h
+++ b/content/renderer/renderer_blink_platform_impl.h
@@ -242,8 +242,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.
« no previous file with comments | « content/renderer/push_messaging/push_messaging_dispatcher.cc ('k') | content/renderer/renderer_blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698