summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorheejin.r.chung@samsung.com <heejin.r.chung@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-01 07:31:17 +0000
committerheejin.r.chung@samsung.com <heejin.r.chung@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-01 07:31:17 +0000
commitb31b6277fc17e1b755c6e2939d6e7233ee29fe82 (patch)
tree952fbc620780d2c195e9581aef79bdb199f9ab38 /webkit
parentafc65e8e9cd33e99ed9a56ee6c4e0e5978a7d2d5 (diff)
downloadchromium_src-b31b6277fc17e1b755c6e2939d6e7233ee29fe82.zip
chromium_src-b31b6277fc17e1b755c6e2939d6e7233ee29fe82.tar.gz
chromium_src-b31b6277fc17e1b755c6e2939d6e7233ee29fe82.tar.bz2
Remove GLInProcessContext::CreateContext()
Change all CreateContext() calls to Context() and remove unnecessary code. BUG= Review URL: https://codereview.chromium.org/429863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286952 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc17
1 files changed, 9 insertions, 8 deletions
diff --git a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
index 5ad1d77..5f2ebef 100644
--- a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
+++ b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
@@ -147,14 +147,15 @@ bool WebGraphicsContext3DInProcessCommandBufferImpl::MaybeInitializeGL() {
// will need to be lost either when the first context requesting the
// discrete GPU is created, or the last one is destroyed.
gfx::GpuPreference gpu_preference = gfx::PreferDiscreteGpu;
-
- context_.reset(GLInProcessContext::CreateContext(
- is_offscreen_,
- window_,
- gfx::Size(1, 1),
- share_resources_,
- attribs_,
- gpu_preference));
+ context_.reset(GLInProcessContext::Create(NULL, /* service */
+ NULL, /* surface */
+ is_offscreen_,
+ window_,
+ gfx::Size(1, 1),
+ NULL, /* share_context */
+ share_resources_,
+ attribs_,
+ gpu_preference));
}
if (context_) {