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

Unified Diff: content/renderer/npapi/webplugin_impl.h

Issue 598483002: Fix WeakPtrFactory member ordering in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed order of friend class Created 6 years, 3 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: content/renderer/npapi/webplugin_impl.h
diff --git a/content/renderer/npapi/webplugin_impl.h b/content/renderer/npapi/webplugin_impl.h
index eb4565e133342e908c6fc04f3c79767fae7c790d..6323f6daa86c6029db6908da05e06806c10c5b76 100644
--- a/content/renderer/npapi/webplugin_impl.h
+++ b/content/renderer/npapi/webplugin_impl.h
@@ -324,8 +324,6 @@ class WebPluginImpl : public WebPlugin,
std::vector<std::string> arg_names_;
std::vector<std::string> arg_values_;
- base::WeakPtrFactory<WebPluginImpl> weak_factory_;
-
class LoaderClient : public blink::WebURLLoaderClient {
public:
LoaderClient(WebPluginImpl*);
@@ -360,6 +358,8 @@ class WebPluginImpl : public WebPlugin,
LoaderClient loader_client_;
+ base::WeakPtrFactory<WebPluginImpl> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
};
« no previous file with comments | « content/renderer/accessibility/renderer_accessibility_complete.cc ('k') | content/renderer/npapi/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698