| Index: Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| diff --git a/Source/platform/graphics/Canvas2DLayerBridge.cpp b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| index bc23de81f21ec395ebd8295764b3516e413bbbe1..0fc3f5db9d4cd8fee86e399412c86764234b09a2 100644
|
| --- a/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| +++ b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| @@ -30,6 +30,7 @@
|
| #include "GrContext.h"
|
| #include "SkDevice.h"
|
| #include "SkSurface.h"
|
| +
|
| #include "platform/TraceEvent.h"
|
| #include "platform/graphics/Canvas2DLayerManager.h"
|
| #include "platform/graphics/GraphicsLayer.h"
|
| @@ -583,6 +584,11 @@ Platform3DObject Canvas2DLayerBridge::getBackingTexture()
|
| return 0;
|
| }
|
|
|
| +PassRefPtr<SkImage> Canvas2DLayerBridge::newImageSnapshot()
|
| +{
|
| + return adoptRef(m_canvas->newImageSnapshot());
|
| +}
|
| +
|
| Canvas2DLayerBridge::MailboxInfo::MailboxInfo(const MailboxInfo& other) {
|
| // This copy constructor should only be used for Vector reallocation
|
| // Assuming 'other' is to be destroyed, we transfer m_image and
|
|
|