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

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

Issue 2489893002: [SPv2] Track paint offset change (Closed)
Patch Set: - Created 4 years, 1 month 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/FrameSetPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FrameSetPainter.cpp b/third_party/WebKit/Source/core/paint/FrameSetPainter.cpp
index 33975e424d5ed0d451850e6a4da72e52396e4a74..fc78d7a2127578e508d297f842a088a4df8f6fe2 100644
--- a/third_party/WebKit/Source/core/paint/FrameSetPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FrameSetPainter.cpp
@@ -7,6 +7,7 @@
#include "core/html/HTMLFrameSetElement.h"
#include "core/layout/LayoutFrameSet.h"
#include "core/paint/LayoutObjectDrawingRecorder.h"
+#include "core/paint/ObjectPainter.h"
#include "core/paint/PaintInfo.h"
namespace blink {
@@ -150,6 +151,7 @@ void FrameSetPainter::paintChildren(const PaintInfo& paintInfo,
void FrameSetPainter::paint(const PaintInfo& paintInfo,
const LayoutPoint& paintOffset) {
+ ObjectPainter(m_layoutFrameSet).checkPaintOffset(paintInfo, paintOffset);
if (paintInfo.phase != PaintPhaseForeground)
return;
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxPainter.cpp ('k') | third_party/WebKit/Source/core/paint/InlinePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698