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

Unified Diff: content/browser/renderer_host/render_widget_host_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/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index aa464aba5efdc353551ef8f97cf4f1b6722b85c2..8c295b062dd4165146e9101afd457ea01fb8459e 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -827,8 +827,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
// not sent to the renderer.
bool has_touch_handler_;
- base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
-
scoped_ptr<SyntheticGestureController> synthetic_gesture_controller_;
scoped_ptr<TouchEmulator> touch_emulator_;
@@ -849,6 +847,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl
base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap;
PendingSnapshotMap pending_browser_snapshots_;
+ base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
};
« no previous file with comments | « content/browser/net/view_http_cache_job_factory.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698