summaryrefslogtreecommitdiffstats
path: root/cc/output/output_surface.cc
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-08 20:34:32 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-08 20:34:32 +0000
commit526bc6c941bf8918c3cfe51411f48d962e2ade00 (patch)
tree061f6cff4e706791963f2268fda3cbfdd0434f92 /cc/output/output_surface.cc
parent722b4d484f10f393b43d80d312e2cdf1bc57057f (diff)
downloadchromium_src-526bc6c941bf8918c3cfe51411f48d962e2ade00.zip
chromium_src-526bc6c941bf8918c3cfe51411f48d962e2ade00.tar.gz
chromium_src-526bc6c941bf8918c3cfe51411f48d962e2ade00.tar.bz2
CC: WeakPtrFactory should be the last member.
BUG=303818 Review URL: https://codereview.chromium.org/26228003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227578 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/output/output_surface.cc')
-rw-r--r--cc/output/output_surface.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc
index 555fea2..2851dda 100644
--- a/cc/output/output_surface.cc
+++ b/cc/output/output_surface.cc
@@ -37,14 +37,14 @@ OutputSurface::OutputSurface(scoped_refptr<ContextProvider> context_provider)
has_gl_discard_backbuffer_(false),
has_swap_buffers_complete_callback_(false),
device_scale_factor_(-1),
- weak_ptr_factory_(this),
max_frames_pending_(0),
pending_swap_buffers_(0),
needs_begin_frame_(false),
client_ready_for_begin_frame_(true),
client_(NULL),
check_for_retroactive_begin_frame_pending_(false),
- external_stencil_test_enabled_(false) {}
+ external_stencil_test_enabled_(false),
+ weak_ptr_factory_(this) {}
OutputSurface::OutputSurface(
scoped_ptr<cc::SoftwareOutputDevice> software_device)
@@ -52,14 +52,14 @@ OutputSurface::OutputSurface(
has_gl_discard_backbuffer_(false),
has_swap_buffers_complete_callback_(false),
device_scale_factor_(-1),
- weak_ptr_factory_(this),
max_frames_pending_(0),
pending_swap_buffers_(0),
needs_begin_frame_(false),
client_ready_for_begin_frame_(true),
client_(NULL),
check_for_retroactive_begin_frame_pending_(false),
- external_stencil_test_enabled_(false) {}
+ external_stencil_test_enabled_(false),
+ weak_ptr_factory_(this) {}
OutputSurface::OutputSurface(
scoped_refptr<ContextProvider> context_provider,
@@ -69,14 +69,14 @@ OutputSurface::OutputSurface(
has_gl_discard_backbuffer_(false),
has_swap_buffers_complete_callback_(false),
device_scale_factor_(-1),
- weak_ptr_factory_(this),
max_frames_pending_(0),
pending_swap_buffers_(0),
needs_begin_frame_(false),
client_ready_for_begin_frame_(true),
client_(NULL),
check_for_retroactive_begin_frame_pending_(false),
- external_stencil_test_enabled_(false) {}
+ external_stencil_test_enabled_(false),
+ weak_ptr_factory_(this) {}
void OutputSurface::InitializeBeginFrameEmulation(
base::SingleThreadTaskRunner* task_runner,