Index: content/common/gpu/image_transport_surface_calayer_mac.mm |
diff --git a/content/common/gpu/image_transport_surface_calayer_mac.mm b/content/common/gpu/image_transport_surface_calayer_mac.mm |
index 59a3d9108985e4b45bd7dcbcc94fb1f0a426445f..e67a1480aa89c3e14c2b14a234f381473eef26b1 100644 |
--- a/content/common/gpu/image_transport_surface_calayer_mac.mm |
+++ b/content/common/gpu/image_transport_surface_calayer_mac.mm |
@@ -8,7 +8,7 @@ |
#include "base/command_line.h" |
#include "base/mac/sdk_forward_declarations.h" |
-#include "content/common/gpu/surface_handle_types_mac.h" |
+#include "ui/accelerated_widget_mac/surface_handle_types.h" |
#include "ui/base/cocoa/animation_utils.h" |
#include "ui/gfx/geometry/size_conversions.h" |
#include "ui/gl/gl_gl_api_implementation.h" |
@@ -337,7 +337,7 @@ void CALayerStorageProvider::UnblockBrowserIfNeeded() { |
pending_draw_weak_factory_.InvalidateWeakPtrs(); |
has_pending_draw_ = false; |
transport_surface_->SendSwapBuffers( |
- SurfaceHandleFromCAContextID([context_ contextId]), |
+ ui::SurfaceHandleFromCAContextID([context_ contextId]), |
fbo_pixel_size_, |
fbo_scale_factor_); |
} |