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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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/gpu/AcceleratedImageBufferSurface.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
index 065aa6c5bd320df31d10ecc244547d596119647b..78847f69dcdef6924ccf9c02bd5bc266a2ee61cc 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
+++ b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
@@ -56,7 +56,7 @@ AcceleratedImageBufferSurface::AcceleratedImageBufferSurface(
SkImageInfo info = SkImageInfo::Make(size.width(), size.height(), colorType,
alphaType, colorSpace);
SkSurfaceProps disableLCDProps(0, kUnknown_SkPixelGeometry);
- m_surface = SkSurface::MakeRenderTarget(
+ m_surface = PaintSurface::MakeRenderTarget(
grContext, SkBudgeted::kYes, info, 0 /* sampleCount */,
Opaque == opacityMode ? nullptr : &disableLCDProps);
if (!m_surface)
@@ -83,7 +83,7 @@ GLuint AcceleratedImageBufferSurface::getBackingTextureHandleForOverwrite() {
return 0;
return skia::GrBackendObjectToGrGLTextureInfo(
m_surface->getTextureHandle(
- SkSurface::kDiscardWrite_TextureHandleAccess))
+ PaintSurface::kDiscardWrite_TextureHandleAccess))
->fID;
}

Powered by Google App Engine
This is Rietveld 408576698