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

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

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/pepper/plugin_object.h ('k') | device/hid/hid_service_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/plugin_object.cc
diff --git a/content/renderer/pepper/plugin_object.cc b/content/renderer/pepper/plugin_object.cc
index 93c4b72943d07557ef71b78553598335832f59e6..ada0fd9b7bfd1c3b4b15e1b9a44f16b5fc811117 100644
--- a/content/renderer/pepper/plugin_object.cc
+++ b/content/renderer/pepper/plugin_object.cc
@@ -169,8 +169,8 @@ PluginObject::PluginObject(PepperPluginInstanceImpl* instance,
instance_(instance),
ppp_class_(ppp_class),
ppp_class_data_(ppp_class_data),
- weak_factory_(this),
- template_cache_(instance->GetIsolate()) {
+ template_cache_(instance->GetIsolate()),
+ weak_factory_(this) {
instance_->AddPluginObject(this);
}
« no previous file with comments | « content/renderer/pepper/plugin_object.h ('k') | device/hid/hid_service_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698