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

Side by Side Diff: Source/core/rendering/svg/RenderSVGViewportContainer.cpp

Issue 408273003: Reset m_didTransformToRootUpdate flag during invalidationTreeIfNeeded (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Based on https://codereview.chromium.org/389573008/ Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. 5 * Copyright (C) 2009 Google, Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void RenderSVGViewportContainer::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) 106 void RenderSVGViewportContainer::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
107 { 107 {
108 ASSERT(element()); 108 ASSERT(element());
109 // An empty viewBox disables rendering. 109 // An empty viewBox disables rendering.
110 if (isSVGSVGElement(*element()) && toSVGSVGElement(*element()).hasEmptyViewB ox()) 110 if (isSVGSVGElement(*element()) && toSVGSVGElement(*element()).hasEmptyViewB ox())
111 return; 111 return;
112 112
113 RenderSVGContainer::paint(paintInfo, paintOffset); 113 RenderSVGContainer::paint(paintInfo, paintOffset);
114 } 114 }
115 115
116 void RenderSVGViewportContainer::clearPaintInvalidationState()
117 {
118 RenderSVGContainer::clearPaintInvalidationState();
119
120 ASSERT(!m_needsTransformUpdate);
121 m_didTransformToRootUpdate = false;
116 } 122 }
123
124 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698