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

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

Issue 2610853005: Modify Copy{Sub}TextureCHROMIUM entry point to add level argument (Closed)
Patch Set: fix chromeos 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/ImageBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
index e7caecf5debcdb0b36cf7cff071c619f796ed92b..4982dd7ed2ec559b27a7c809271d21f025a70e0f 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
@@ -269,7 +269,7 @@ bool ImageBuffer::copyToPlatformTexture(SnapshotReason reason,
// semantics are reversed.
// It is expected that callers of this method have already allocated
// the platform texture with the appropriate size.
- gl->CopySubTextureCHROMIUM(sourceTexture, texture, destPoint.x(),
+ gl->CopySubTextureCHROMIUM(sourceTexture, 0, texture, 0, destPoint.x(),
destPoint.y(), sourceSubRectangle.x(),
sourceSubRectangle.y(), sourceSubRectangle.width(),
sourceSubRectangle.height(),

Powered by Google App Engine
This is Rietveld 408576698