Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(898)

Unified Diff: third_party/WebKit/Source/platform/graphics/SkiaTextureHolder.h

Issue 2740003004: Check StaticBitmapImage has changed from Mailbox to Skia in OffscreenCanvas commit (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/SkiaTextureHolder.h
diff --git a/third_party/WebKit/Source/platform/graphics/SkiaTextureHolder.h b/third_party/WebKit/Source/platform/graphics/SkiaTextureHolder.h
index b4da4fe20b34f441d8390095d4fdd6ca1068c9df..0fab63ed4bb2316c875835e8ffc738a50882ca5b 100644
--- a/third_party/WebKit/Source/platform/graphics/SkiaTextureHolder.h
+++ b/third_party/WebKit/Source/platform/graphics/SkiaTextureHolder.h
@@ -15,8 +15,6 @@ class PLATFORM_EXPORT SkiaTextureHolder final : public TextureHolder {
~SkiaTextureHolder() override;
// Methods overriding TextureHolder
- void updateSyncToken(gpu::SyncToken) override {}
-
bool isSkiaTextureHolder() final { return true; }
bool isMailboxTextureHolder() final { return false; }
unsigned sharedContextId() final;
@@ -26,7 +24,6 @@ class PLATFORM_EXPORT SkiaTextureHolder final : public TextureHolder {
bool currentFrameKnownToBeOpaque(Image::MetadataMode) final {
return m_image->isOpaque();
}
-
sk_sp<SkImage> skImage() final { return m_image; }
void setSharedContextId(unsigned contextId) final {
m_sharedContextId = contextId;
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698