Index: content/common/gpu/child_window_surface_win.cc |
diff --git a/content/common/gpu/child_window_surface_win.cc b/content/common/gpu/child_window_surface_win.cc |
index 45649724bc08cfc56977b93e42be09f82e0b6792..f51115c25f365b5e817ed93f2d293a7fae3425de 100644 |
--- a/content/common/gpu/child_window_surface_win.cc |
+++ b/content/common/gpu/child_window_surface_win.cc |
@@ -8,7 +8,6 @@ |
#include "base/win/scoped_hdc.h" |
#include "base/win/wrapped_window_proc.h" |
#include "content/common/gpu/gpu_channel_manager.h" |
-#include "content/common/gpu/gpu_channel_manager_delegate.h" |
#include "content/common/gpu/gpu_messages.h" |
#include "ui/base/win/hidden_window.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -126,8 +125,8 @@ |
windowRect.right - windowRect.left, windowRect.bottom - windowRect.top, |
ui::GetHiddenWindow(), NULL, NULL, NULL); |
gfx::SetWindowUserData(window_, this); |
- manager_->delegate()->SendAcceleratedSurfaceCreatedChildWindow(parent_window_, |
- window_); |
+ manager_->Send(new GpuHostMsg_AcceleratedSurfaceCreatedChildWindow( |
+ parent_window_, window_)); |
return true; |
} |