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

Unified Diff: content/renderer/pepper/plugin_object.h

Issue 780713002: Fix remaining WeakPtrFactory ordering problems (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years 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
« no previous file with comments | « content/renderer/media/remote_media_stream_impl.cc ('k') | content/renderer/pepper/plugin_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/plugin_object.h
diff --git a/content/renderer/pepper/plugin_object.h b/content/renderer/pepper/plugin_object.h
index f13fcd3570603872c16a098ca787b9d4a36ad63a..88b608e642a87b96ea55ec1d1856e98d70a00875 100644
--- a/content/renderer/pepper/plugin_object.h
+++ b/content/renderer/pepper/plugin_object.h
@@ -84,10 +84,10 @@ class PluginObject : public gin::Wrappable<PluginObject>,
const PPP_Class_Deprecated* ppp_class_;
void* ppp_class_data_;
- base::WeakPtrFactory<PluginObject> weak_factory_;
-
v8::StdPersistentValueMap<std::string, v8::FunctionTemplate> template_cache_;
+ base::WeakPtrFactory<PluginObject> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(PluginObject);
};
« no previous file with comments | « content/renderer/media/remote_media_stream_impl.cc ('k') | content/renderer/pepper/plugin_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698