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

Unified Diff: content/renderer/accessibility/renderer_accessibility_complete.cc

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/accessibility/renderer_accessibility_complete.cc
diff --git a/content/renderer/accessibility/renderer_accessibility_complete.cc b/content/renderer/accessibility/renderer_accessibility_complete.cc
index 66d750951f3a55430fb44a2714a09fc9b6eba690..6c4cc9245c7630b2bf1fbdd413549fee9cc41e28 100644
--- a/content/renderer/accessibility/renderer_accessibility_complete.cc
+++ b/content/renderer/accessibility/renderer_accessibility_complete.cc
@@ -35,11 +35,11 @@ namespace content {
RendererAccessibilityComplete::RendererAccessibilityComplete(
RenderFrameImpl* render_frame)
: RendererAccessibility(render_frame),
- weak_factory_(this),
tree_source_(render_frame),
serializer_(&tree_source_),
last_scroll_offset_(gfx::Size()),
- ack_pending_(false) {
+ ack_pending_(false),
+ weak_factory_(this) {
WebView* web_view = render_frame_->GetRenderView()->GetWebView();
WebSettings* settings = web_view->settings();
settings->setAccessibilityEnabled(true);
« no previous file with comments | « content/renderer/accessibility/renderer_accessibility_complete.h ('k') | content/renderer/npapi/webplugin_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698