diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-23 19:02:37 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-23 19:02:37 +0000 |
commit | 0cfda3032843c4769cbd68ddc3c83e1753d0e611 (patch) | |
tree | 62608cc71961da534c30cca97019d5bcba1a924c /cc/output/delegating_renderer.h | |
parent | 33091bea397cb6d7ca3116f001764865c636b9bd (diff) | |
download | chromium_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.h | 1 |
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_; |