summaryrefslogtreecommitdiffstats
path: root/cc/output/delegating_renderer.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-23 19:02:37 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-23 19:02:37 +0000
commit0cfda3032843c4769cbd68ddc3c83e1753d0e611 (patch)
tree62608cc71961da534c30cca97019d5bcba1a924c /cc/output/delegating_renderer.h
parent33091bea397cb6d7ca3116f001764865c636b9bd (diff)
downloadchromium_src-0cfda3032843c4769cbd68ddc3c83e1753d0e611.zip
chromium_src-0cfda3032843c4769cbd68ddc3c83e1753d0e611.tar.gz
chromium_src-0cfda3032843c4769cbd68ddc3c83e1753d0e611.tar.bz2
cc: Remove code paths for branches that are always true.
The Renderer::Create methods always return a valid pointer, and the ResourceProvider can no longer fail to initialize, so stop branching on these things that can't happen. R=enne@chromium.org BUG=366130 Review URL: https://codereview.chromium.org/248873003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265700 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/output/delegating_renderer.h')
-rw-r--r--cc/output/delegating_renderer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/output/delegating_renderer.h b/cc/output/delegating_renderer.h
index 456d1ef..a4f8c26 100644
--- a/cc/output/delegating_renderer.h
+++ b/cc/output/delegating_renderer.h
@@ -56,7 +56,6 @@ class CC_EXPORT DelegatingRenderer : public Renderer {
const LayerTreeSettings* settings,
OutputSurface* output_surface,
ResourceProvider* resource_provider);
- bool Initialize();
OutputSurface* output_surface_;
ResourceProvider* resource_provider_;