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

Unified Diff: cc/paint/record_paint_canvas.cc

Issue 2880813002: Revert of Add stable id to PaintImage. (Closed)
Patch Set: Created 3 years, 7 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 | « cc/paint/paint_op_buffer_unittest.cc ('k') | cc/test/fake_content_layer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/record_paint_canvas.cc
diff --git a/cc/paint/record_paint_canvas.cc b/cc/paint/record_paint_canvas.cc
index 2e7c9d43f8e63f911e14408ff3dca4fe62643b22..5e768a00de07da47aa2cb24d81042f3df0e04302 100644
--- a/cc/paint/record_paint_canvas.cc
+++ b/cc/paint/record_paint_canvas.cc
@@ -286,11 +286,10 @@
// TODO(enne): Move into base class?
if (bitmap.drawsNothing())
return;
- drawImage(
- PaintImage(PaintImage::kNonLazyStableId, SkImage::MakeFromBitmap(bitmap),
- PaintImage::AnimationType::UNKNOWN,
- PaintImage::CompletionState::UNKNOWN),
- left, top, flags);
+ drawImage(PaintImage(SkImage::MakeFromBitmap(bitmap),
+ PaintImage::AnimationType::UNKNOWN,
+ PaintImage::CompletionState::UNKNOWN),
+ left, top, flags);
}
void RecordPaintCanvas::drawText(const void* text,
« no previous file with comments | « cc/paint/paint_op_buffer_unittest.cc ('k') | cc/test/fake_content_layer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698