Title: [115701] trunk/Source/WebCore
- Revision
- 115701
- Author
- [email protected]
- Date
- 2012-04-30 19:15:51 -0700 (Mon, 30 Apr 2012)
Log Message
RenderObject incorrectly lists maximalOutlineSize as a LayoutUnit
https://bugs.webkit.org/show_bug.cgi?id=85248
Reviewed by Eric Seidel.
Reverting RenderObject::maximalOutlineSize to int. This is a slop value for repaint
rects that doesn't affect layout. It also derives its value from RenderView's function
of the same name, which is already an integer.
No new tests. No change in behavior.
* rendering/RenderObject.cpp:
(WebCore::RenderObject::maximalOutlineSize):
* rendering/RenderObject.h:
(RenderObject):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (115700 => 115701)
--- trunk/Source/WebCore/ChangeLog 2012-05-01 02:09:08 UTC (rev 115700)
+++ trunk/Source/WebCore/ChangeLog 2012-05-01 02:15:51 UTC (rev 115701)
@@ -1,3 +1,21 @@
+2012-04-30 Levi Weintraub <[email protected]>
+
+ RenderObject incorrectly lists maximalOutlineSize as a LayoutUnit
+ https://bugs.webkit.org/show_bug.cgi?id=85248
+
+ Reviewed by Eric Seidel.
+
+ Reverting RenderObject::maximalOutlineSize to int. This is a slop value for repaint
+ rects that doesn't affect layout. It also derives its value from RenderView's function
+ of the same name, which is already an integer.
+
+ No new tests. No change in behavior.
+
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::maximalOutlineSize):
+ * rendering/RenderObject.h:
+ (RenderObject):
+
2012-04-30 Xingnan Wang <[email protected]>
Add multichannel support for input of _javascript_AudioNode
Modified: trunk/Source/WebCore/rendering/RenderObject.cpp (115700 => 115701)
--- trunk/Source/WebCore/rendering/RenderObject.cpp 2012-05-01 02:09:08 UTC (rev 115700)
+++ trunk/Source/WebCore/rendering/RenderObject.cpp 2012-05-01 02:15:51 UTC (rev 115701)
@@ -2691,7 +2691,7 @@
return !document()->inPageCache() && !document()->view()->isOffscreen();
}
-LayoutUnit RenderObject::maximalOutlineSize(PaintPhase p) const
+int RenderObject::maximalOutlineSize(PaintPhase p) const
{
if (p != PaintPhaseOutline && p != PaintPhaseSelfOutline && p != PaintPhaseChildOutlines)
return 0;
Modified: trunk/Source/WebCore/rendering/RenderObject.h (115700 => 115701)
--- trunk/Source/WebCore/rendering/RenderObject.h 2012-05-01 02:09:08 UTC (rev 115700)
+++ trunk/Source/WebCore/rendering/RenderObject.h 2012-05-01 02:15:51 UTC (rev 115701)
@@ -776,7 +776,7 @@
bool hasReflection() const { return m_bitfields.hasReflection(); }
// Applied as a "slop" to dirty rect checks during the outline painting phase's dirty-rect checks.
- LayoutUnit maximalOutlineSize(PaintPhase) const;
+ int maximalOutlineSize(PaintPhase) const;
enum SelectionState {
SelectionNone, // The object is not selected.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes