Index: third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp |
index e8cd0ce3c9dfa33235eafe6f8dd173af2faf85da..4e0abe8f1851e698cb6a279d968b7069ca94c714 100644 |
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp |
@@ -6,8 +6,8 @@ |
#include "platform/CrossThreadFunctional.h" |
#include "platform/WebTaskRunner.h" |
-#include "platform/graphics/Image.h" |
#include "platform/graphics/OffscreenCanvasFrameDispatcher.h" |
+#include "platform/graphics/StaticBitmapImage.h" |
#include "wtf/HashMap.h" |
namespace { |
@@ -62,7 +62,7 @@ void OffscreenCanvasPlaceholder::unregisterPlaceholder() { |
} |
void OffscreenCanvasPlaceholder::setPlaceholderFrame( |
- RefPtr<Image> newFrame, |
+ RefPtr<StaticBitmapImage> newFrame, |
WeakPtr<OffscreenCanvasFrameDispatcher> dispatcher, |
std::unique_ptr<WebTaskRunner> taskRunner, |
unsigned resourceId) { |