summaryrefslogtreecommitdiffstats
path: root/cc/test/test_web_graphics_context_3d.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-09 20:11:54 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-09 20:11:54 +0000
commitcffbe21f526d3bdf5104a8fac5f4365812841c39 (patch)
tree3cf4c924d06767f405537661a98f8383517a45ca /cc/test/test_web_graphics_context_3d.h
parent439f1e3d98de0a2021d71c8bb48773663c337b5a (diff)
downloadchromium_src-cffbe21f526d3bdf5104a8fac5f4365812841c39.zip
chromium_src-cffbe21f526d3bdf5104a8fac5f4365812841c39.tar.gz
chromium_src-cffbe21f526d3bdf5104a8fac5f4365812841c39.tar.bz2
cc: Inline GLRenderer::Initialize into the constructor
Since the method can no longer fail, no reason to delay it and force unit tests to all call it. Depends on: https://codereview.chromium.org/107193003/ R=jamesr BUG= Review URL: https://codereview.chromium.org/108313003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239540 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/test_web_graphics_context_3d.h')
-rw-r--r--cc/test/test_web_graphics_context_3d.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h
index b74a6be..8ad285a 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -165,9 +165,7 @@ class TestWebGraphicsContext3D : public FakeWebGraphicsContext3D {
return test_capabilities_;
}
- void set_context_lost(bool context_lost) {
- context_lost_ = context_lost;
- }
+ void set_context_lost(bool context_lost) { context_lost_ = context_lost; }
void set_times_bind_texture_succeeds(int times) {
times_bind_texture_succeeds_ = times;
}