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

Unified Diff: cc/output/output_surface.cc

Issue 581563002: Declaring the weak_ptr_factory in proper order in src/cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « cc/output/output_surface.h ('k') | cc/resources/gpu_raster_worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface.cc
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc
index 27b3fbddfc2c6997cace8420531e0d158135d15a..2b6b7829999ef01c60648b6de7ed9acb4dce1fe7 100644
--- a/cc/output/output_surface.cc
+++ b/cc/output/output_surface.cc
@@ -46,8 +46,8 @@ OutputSurface::OutputSurface(
context_provider_(context_provider),
device_scale_factor_(-1),
external_stencil_test_enabled_(false),
- weak_ptr_factory_(this),
- gpu_latency_history_(kGpuLatencyHistorySize) {
+ gpu_latency_history_(kGpuLatencyHistorySize),
+ weak_ptr_factory_(this) {
}
OutputSurface::OutputSurface(scoped_ptr<SoftwareOutputDevice> software_device)
@@ -55,8 +55,8 @@ OutputSurface::OutputSurface(scoped_ptr<SoftwareOutputDevice> software_device)
software_device_(software_device.Pass()),
device_scale_factor_(-1),
external_stencil_test_enabled_(false),
- weak_ptr_factory_(this),
- gpu_latency_history_(kGpuLatencyHistorySize) {
+ gpu_latency_history_(kGpuLatencyHistorySize),
+ weak_ptr_factory_(this) {
}
OutputSurface::OutputSurface(
@@ -67,8 +67,8 @@ OutputSurface::OutputSurface(
software_device_(software_device.Pass()),
device_scale_factor_(-1),
external_stencil_test_enabled_(false),
- weak_ptr_factory_(this),
- gpu_latency_history_(kGpuLatencyHistorySize) {
+ gpu_latency_history_(kGpuLatencyHistorySize),
+ weak_ptr_factory_(this) {
}
void OutputSurface::CommitVSyncParameters(base::TimeTicks timebase,
« no previous file with comments | « cc/output/output_surface.h ('k') | cc/resources/gpu_raster_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698