| Index: Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| diff --git a/Source/platform/graphics/Canvas2DLayerBridge.cpp b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| index 7d4dbdfeb5ffda1cedadb8ca768f5bef85f0379f..9798eaf66677877753f0ebcfc478f5e65b5e52dc 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"
|
| @@ -567,6 +568,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 ownership
|
|
|