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

Unified Diff: content/gpu/gpu_watchdog_thread.h

Issue 565013003: Changing the order of initialization WeakPtrFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolving the build error 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
« no previous file with comments | « no previous file | content/gpu/gpu_watchdog_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_watchdog_thread.h
diff --git a/content/gpu/gpu_watchdog_thread.h b/content/gpu/gpu_watchdog_thread.h
index db7978baa575b1aa688db60269db7d020d6de212..fcd363646e94704fd8750faec704610ea2e1fdaf 100644
--- a/content/gpu/gpu_watchdog_thread.h
+++ b/content/gpu/gpu_watchdog_thread.h
@@ -88,14 +88,14 @@ class GpuWatchdogThread : public base::Thread,
// the task was posted.
base::Time suspension_timeout_;
- base::WeakPtrFactory<GpuWatchdogThread> weak_factory_;
-
bool suspended_;
#if defined(OS_CHROMEOS)
FILE* tty_file_;
#endif
+ base::WeakPtrFactory<GpuWatchdogThread> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(GpuWatchdogThread);
};
« no previous file with comments | « no previous file | content/gpu/gpu_watchdog_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698