Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.cc

Issue 12673002: pepper: Use the RenderThread's shared context as the parent context. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
index b2eacb0313e385b52bf1b0515f75a03f2aaa7c0b..ea1be6d818f195d566abbb193b93372c97b7e845 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
@@ -1495,15 +1495,8 @@ void PluginInstance::UpdateFlashFullscreenState(bool flash_fullscreen) {
return;
}
- PPB_Graphics3D_Impl* graphics_3d = bound_graphics_3d_.get();
- if (graphics_3d) {
- if (flash_fullscreen) {
- fullscreen_container_->ReparentContext(graphics_3d->platform_context());
- } else {
- delegate_->ReparentContext(graphics_3d->platform_context());
- }
+ if (bound_graphics_3d_)
UpdateLayer();
- }
bool old_plugin_focus = PluginHasFocus();
flash_fullscreen_ = flash_fullscreen;
« webkit/plugins/ppapi/fullscreen_container.h ('K') | « webkit/plugins/ppapi/plugin_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698