summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-31 21:45:23 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-31 21:45:23 +0000
commitc70a49725823b995b669c8f94b74dce58e481fdd (patch)
treebd3a95aa088b2d20f6d65bbbbf3160f331257e06
parentc1edefac7da152226690bd88db62237bd1abf330 (diff)
downloadchromium_src-c70a49725823b995b669c8f94b74dce58e481fdd.zip
chromium_src-c70a49725823b995b669c8f94b74dce58e481fdd.tar.gz
chromium_src-c70a49725823b995b669c8f94b74dce58e481fdd.tar.bz2
Fix gcc build break:
cc1plus: warnings being treated as errors PlatformContextSkia.cpp:178: warning: "PlatformContextSkia::State::m_miterLimit" will be initialized after PlatformContextSkia.cpp:163: warning: "float PlatformContextSkia::State::m_alpha" PlatformContextSkia.cpp:196: warning: when initialized here and friends Review URL: http://codereview.chromium.org/8979 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4329 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/port/platform/graphics/PlatformContextSkia.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/webkit/port/platform/graphics/PlatformContextSkia.cpp b/webkit/port/platform/graphics/PlatformContextSkia.cpp
index ec8a365..3c6b53e 100644
--- a/webkit/port/platform/graphics/PlatformContextSkia.cpp
+++ b/webkit/port/platform/graphics/PlatformContextSkia.cpp
@@ -194,22 +194,22 @@ private:
// Note: Keep theses default values in sync with GraphicsContextState.
PlatformContextSkia::State::State()
- : m_miterLimit(4)
- , m_alpha(1)
- , m_looper(0)
- , m_lineCap(SkPaint::kDefault_Cap)
- , m_lineJoin(SkPaint::kDefault_Join)
+ : m_alpha(1)
, m_porterDuffMode(SkPorterDuff::kSrcOver_Mode)
- , m_dashRatio(3)
+ , m_gradient(0)
+ , m_pattern(0)
+ , m_useAntialiasing(true)
+ , m_looper(0)
, m_fillColor(0xFF000000)
, m_strokeStyle(WebCore::SolidStroke)
, m_strokeColor(0x0FF000000)
, m_strokeThickness(0)
- , m_textDrawingMode(WebCore::cTextFill)
- , m_useAntialiasing(true)
+ , m_dashRatio(3)
+ , m_miterLimit(4)
+ , m_lineCap(SkPaint::kDefault_Cap)
+ , m_lineJoin(SkPaint::kDefault_Join)
, m_dash(0)
- , m_gradient(0)
- , m_pattern(0)
+ , m_textDrawingMode(WebCore::cTextFill)
{
}