Index: content/browser/compositor/software_output_device_win.cc |
diff --git a/content/browser/compositor/software_output_device_win.cc b/content/browser/compositor/software_output_device_win.cc |
index 098da8279c7f94a915d31f7c106a7cccc0557da6..7f3df8799bf74725b71f1ad07f0872d5f7805c05 100644 |
--- a/content/browser/compositor/software_output_device_win.cc |
+++ b/content/browser/compositor/software_output_device_win.cc |
@@ -114,7 +114,7 @@ SkCanvas* SoftwareOutputDeviceWin::BeginPaint(const gfx::Rect& damage_rect) { |
if (!contents_) { |
HANDLE shared_section = NULL; |
if (backing_) |
- shared_section = backing_->GetSharedMemory()->handle(); |
+ shared_section = backing_->GetSharedMemory()->handle().GetHandle(); |
contents_ = skia::AdoptRef(skia::CreatePlatformCanvas( |
viewport_pixel_size_.width(), viewport_pixel_size_.height(), true, |
shared_section, skia::CRASH_ON_FAILURE)); |