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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerReflectionInfo.cpp

Issue 1391943005: Document reflection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed the TODO. Created 5 years, 2 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/core/paint/PaintLayerReflectionInfo.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerReflectionInfo.cpp b/third_party/WebKit/Source/core/paint/PaintLayerReflectionInfo.cpp
index b89cb9eb75044c0335337ddbb83c7718df18e6c7..0ff42bb801bb9af3ff54bd02a5653441ee77a216 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerReflectionInfo.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerReflectionInfo.cpp
@@ -136,7 +136,7 @@ void PaintLayerReflectionInfo::paint(GraphicsContext* context, const PaintLayerP
// Mark that we are now inside replica painting.
m_isPaintingInsideReflection = true;
- PaintLayerPainter(*reflectionLayer()).paintLayer(context, paintingInfo, flags);
+ PaintLayerPainter(*reflectionLayer()).paintLayer(context, paintingInfo, flags | PaintLayerPaintingReflection);
m_isPaintingInsideReflection = false;
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerReflectionInfo.h ('k') | third_party/WebKit/Source/core/paint/ReplicaPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698