Index: ui/surface/accelerated_surface_win.cc |
=================================================================== |
--- ui/surface/accelerated_surface_win.cc (revision 217576) |
+++ ui/surface/accelerated_surface_win.cc (working copy) |
@@ -332,12 +332,6 @@ |
scoped_refptr<AcceleratedPresenter> AcceleratedPresenterMap::GetPresenter( |
gfx::PluginWindowHandle window) { |
base::AutoLock locked(lock_); |
- |
-#if defined(USE_AURA) |
- if (!window) |
- return presenters_.begin()->second; |
-#endif |
- |
PresenterMap::iterator it = presenters_.find(window); |
if (it == presenters_.end()) |
return scoped_refptr<AcceleratedPresenter>(); |
@@ -672,13 +666,6 @@ |
quantized_size_ = gfx::Size(); |
} |
-#if defined(USE_AURA) |
-void AcceleratedPresenter::SetNewTargetWindow(gfx::PluginWindowHandle window) { |
- window_ = window; |
- swap_chain_ = NULL; |
cpu_(ooo_6.6-7.5)
2013/08/25 23:35:17
the new code does not null the swap chain, is that
gab
2013/08/26 19:46:03
no idea.... scott?
apatrick_chromium
2013/08/28 00:03:28
I think it's okay.
scottmg
2013/09/03 16:08:56
That was probably there to force the Present to cr
|
-} |
-#endif |
- |
AcceleratedPresenter::~AcceleratedPresenter() { |
} |