summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-27 19:21:55 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-27 19:21:55 +0000
commit2d7c85529b0210e148d70eb3d0edf485d6521708 (patch)
tree59152cec5d13a4f91b88ffa8610ca9a82f4fdcce /chrome/browser/notifications
parentbe16cf2bcf61a6ac255c347a6ba8c65d213a5a11 (diff)
downloadchromium_src-2d7c85529b0210e148d70eb3d0edf485d6521708.zip
chromium_src-2d7c85529b0210e148d70eb3d0edf485d6521708.tar.gz
chromium_src-2d7c85529b0210e148d70eb3d0edf485d6521708.tar.bz2
GPU compositing surface handle is no longer sent to renderer process.
Instead it is stored in a map in RenderWidgetHelper indexed by RenderWidgetHost route ID. This allows the UI thread to maintain the mapping as windows are created and destroyed and the IO thread to lookup the mapping in order to create GL contexts that render to the windows. This avoids a race where JavaScript would open a popup window and immediately try to use an accelerated canvas to render to it (2D canvas or WebGL canvas). <-- This is no longer true of this patch. There was a potential deadlock. WebGL canvas used to work in this case only because it would fall back to using ReadPixels. This goes some way to fixing the bug referenced below but does not fix it completely.BUG=80703 Review URL: http://codereview.chromium.org/7136001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90617 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications')
-rw-r--r--chrome/browser/notifications/balloon_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/notifications/balloon_host.cc b/chrome/browser/notifications/balloon_host.cc
index ead868a..f571012 100644
--- a/chrome/browser/notifications/balloon_host.cc
+++ b/chrome/browser/notifications/balloon_host.cc
@@ -196,7 +196,7 @@ void BalloonHost::Init() {
InitRenderWidgetHostView();
DCHECK(render_widget_host_view());
- rvh->set_view(render_widget_host_view());
+ rvh->SetView(render_widget_host_view());
rvh->CreateRenderView(string16());
rvh->NavigateToURL(balloon_->notification().content_url());