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

Unified Diff: sync/internal_api/js_mutation_event_observer.h

Issue 26594002: Chrome sync: Put WeakPtrFactory members at the end (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge (see prior patch for try jobs) Created 7 years, 2 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: sync/internal_api/js_mutation_event_observer.h
diff --git a/sync/internal_api/js_mutation_event_observer.h b/sync/internal_api/js_mutation_event_observer.h
index 9d233515031bd15705a77b6cca713b17ede9ef14..6c92646e391d8ecf0b22648ef1989a76519f5a58 100644
--- a/sync/internal_api/js_mutation_event_observer.h
+++ b/sync/internal_api/js_mutation_event_observer.h
@@ -55,13 +55,14 @@ class SYNC_EXPORT_PRIVATE JsMutationEventObserver
ModelTypeSet models_with_changes) OVERRIDE;
private:
- base::WeakPtrFactory<JsMutationEventObserver> weak_ptr_factory_;
WeakHandle<JsEventHandler> event_handler_;
void HandleJsEvent(
const tracked_objects::Location& from_here,
const std::string& name, const JsEventDetails& details);
+ base::WeakPtrFactory<JsMutationEventObserver> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(JsMutationEventObserver);
};

Powered by Google App Engine
This is Rietveld 408576698