Chromium Code Reviews

Unified Diff: content/gpu/gpu_watchdog_thread.cc

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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « content/gpu/gpu_watchdog_thread.h ('k') | content/shell/renderer/ipc_echo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_watchdog_thread.cc
diff --git a/content/gpu/gpu_watchdog_thread.cc b/content/gpu/gpu_watchdog_thread.cc
index 61d4dee54dfe77615bc19c7b528b8a017aa90e79..02b6bff8040e8f6c7c464f309c31761da0f508f9 100644
--- a/content/gpu/gpu_watchdog_thread.cc
+++ b/content/gpu/gpu_watchdog_thread.cc
@@ -38,8 +38,8 @@ GpuWatchdogThread::GpuWatchdogThread(int timeout)
arm_cpu_time_(),
#endif
task_observer_(this),
- weak_factory_(this),
- suspended_(false) {
+ suspended_(false),
+ weak_factory_(this) {
DCHECK(timeout >= 0);
#if defined(OS_WIN)
« no previous file with comments | « content/gpu/gpu_watchdog_thread.h ('k') | content/shell/renderer/ipc_echo.h » ('j') | no next file with comments »

Powered by Google App Engine