summaryrefslogtreecommitdiff
path: root/network/chromium/gcc45fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/chromium/gcc45fix.patch')
-rw-r--r--network/chromium/gcc45fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/network/chromium/gcc45fix.patch b/network/chromium/gcc45fix.patch
new file mode 100644
index 0000000000..99f90667fa
--- /dev/null
+++ b/network/chromium/gcc45fix.patch
@@ -0,0 +1,17 @@
+diff --git a/Source/WebCore/rendering/RenderBlock.h b/Source/WebCore/rendering/RenderBlock.h
+index 2f6f4b6..3859442 100644
+--- a/Source/WebCore/rendering/RenderBlock.h
++++ b/Source/WebCore/rendering/RenderBlock.h
+@@ -865,7 +865,11 @@ private:
+
+ void setAtBeforeSideOfBlock(bool b) { m_atBeforeSideOfBlock = b; }
+ void setAtAfterSideOfBlock(bool b) { m_atAfterSideOfBlock = b; }
+- void clearMargin() { m_positiveMargin = m_negativeMargin = 0; }
++ void clearMargin()
++ {
++ m_positiveMargin = 0;
++ m_negativeMargin = 0;
++ }
+ void setMarginBeforeQuirk(bool b) { m_marginBeforeQuirk = b; }
+ void setMarginAfterQuirk(bool b) { m_marginAfterQuirk = b; }
+ void setDeterminedMarginBeforeQuirk(bool b) { m_determinedMarginBeforeQuirk = b; } \ No newline at end of file