summaryrefslogtreecommitdiffstats
path: root/content/common/gpu
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2016-03-23 18:53:25 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-24 01:54:38 +0000
commit7b971a0eb076b4c88d7c1e999fd6bec83275c29f (patch)
tree692d0be074d9fb53bb38e9c73937a5c4d2bf1783 /content/common/gpu
parentd5712882a2a58be42d3d37b2cb3ef82d555ff22d (diff)
downloadchromium_src-7b971a0eb076b4c88d7c1e999fd6bec83275c29f.zip
chromium_src-7b971a0eb076b4c88d7c1e999fd6bec83275c29f.tar.gz
chromium_src-7b971a0eb076b4c88d7c1e999fd6bec83275c29f.tar.bz2
Remove unused visible_ field in WebGraphicsContext3DCommandBufferImpl
R=kbr@chromium.org, piman@chromium.org BUG=584497 Review URL: https://codereview.chromium.org/1828903003 Cr-Commit-Position: refs/heads/master@{#383012}
Diffstat (limited to 'content/common/gpu')
-rw-r--r--content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc2
-rw-r--r--content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
index 86fc8c9..ad9830d 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
@@ -92,7 +92,6 @@ WebGraphicsContext3DCommandBufferImpl::WebGraphicsContext3DCommandBufferImpl(
WebGraphicsContext3DCommandBufferImpl* share_context)
: lose_context_when_out_of_memory_(lose_context_when_out_of_memory),
attributes_(attributes),
- visible_(false),
host_(host),
surface_handle_(surface_handle),
active_url_(active_url),
@@ -156,7 +155,6 @@ bool WebGraphicsContext3DCommandBufferImpl::MaybeInitializeGL() {
real_gl_->TraceBeginCHROMIUM("WebGraphicsContext3D",
"CommandBufferContext");
- visible_ = true;
initialized_ = true;
return true;
}
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index e0260ed..4183bf8 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -191,8 +191,6 @@ class WebGraphicsContext3DCommandBufferImpl
bool lose_context_when_out_of_memory_;
blink::WebGraphicsContext3D::Attributes attributes_;
- bool visible_;
-
// State needed by MaybeInitializeGL.
scoped_refptr<GpuChannelHost> host_;
gpu::SurfaceHandle surface_handle_;