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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp

Issue 2840093002: Allow RecordingImageBufferSurface to prevent fallback. (Closed)
Patch Set: imagebuffer-fallback: missedone Created 3 years, 8 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
Index: third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
index 99379a0a4a6627ac0dc0299563e24b3cbbd97516..07fdfbf0462e2fb96858a8e5125c0b2aa01db9e9 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
@@ -532,8 +532,8 @@ void ImageBuffer::DisableAcceleration() {
// Create and configure a recording (unaccelerated) surface.
std::unique_ptr<ImageBufferSurface> surface =
WTF::WrapUnique(new RecordingImageBufferSurface(
- surface_->size(), surface_->GetOpacityMode(),
- surface_->color_params()));
+ surface_->size(), RecordingImageBufferSurface::kAllowFallback,
+ surface_->GetOpacityMode(), surface_->color_params()));
SetSurface(std::move(surface));
}

Powered by Google App Engine
This is Rietveld 408576698