diff options
Diffstat (limited to 'third_party/WebKit/WebKit2/Shared/BackingStore.h')
-rw-r--r-- | third_party/WebKit/WebKit2/Shared/BackingStore.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/WebKit/WebKit2/Shared/BackingStore.h b/third_party/WebKit/WebKit2/Shared/BackingStore.h index 7b3c905..f2c580d 100644 --- a/third_party/WebKit/WebKit2/Shared/BackingStore.h +++ b/third_party/WebKit/WebKit2/Shared/BackingStore.h @@ -66,11 +66,12 @@ public: // Paint the backing store into the given context. void paint(WebCore::GraphicsContext&, const WebCore::IntPoint& dstPoint, const WebCore::IntRect& srcRect); + bool isBackedBySharedMemory() const { return m_sharedMemory; } + private: BackingStore(const WebCore::IntSize&, void*); BackingStore(const WebCore::IntSize&, PassRefPtr<SharedMemory>); - bool isBackedBySharedMemory() const { return m_sharedMemory; } static size_t numBytesForSize(const WebCore::IntSize& size) { return size.width() * size.height() * 4; } void* data() const; |