diff options
author | George Mount <mount@google.com> | 2012-04-27 14:24:42 -0700 |
---|---|---|
committer | George Mount <mount@google.com> | 2012-04-27 14:25:50 -0700 |
commit | 940c47782e72ed37ba9f1193af1265a56a3df7e1 (patch) | |
tree | 5ff16d27818c0be38a6bf6fbeea0a4ef445acb95 | |
parent | 341175b92c1d65317b1326da610e8040005921c1 (diff) | |
download | external_webkit-940c47782e72ed37ba9f1193af1265a56a3df7e1.zip external_webkit-940c47782e72ed37ba9f1193af1265a56a3df7e1.tar.gz external_webkit-940c47782e72ed37ba9f1193af1265a56a3df7e1.tar.bz2 |
Changes from code comments.
Bug 6257532
Change-Id: Ic1c27ecdcbc6e4e6cf69dd73eb9b7b9a6d8b2c70
-rw-r--r-- | Source/WebCore/html/shadow/SliderThumbElement.cpp | 3 | ||||
-rw-r--r-- | Source/WebCore/platform/android/RenderThemeAndroid.cpp | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Source/WebCore/html/shadow/SliderThumbElement.cpp b/Source/WebCore/html/shadow/SliderThumbElement.cpp index 6f4fedb..1c2af79 100644 --- a/Source/WebCore/html/shadow/SliderThumbElement.cpp +++ b/Source/WebCore/html/shadow/SliderThumbElement.cpp @@ -94,7 +94,8 @@ public: { return adoptRef(new SliderTouchEventListener(slider)); } - virtual bool operator==(const EventListener& other) { + virtual bool operator==(const EventListener& other) + { return this == &other; } virtual void handleEvent(ScriptExecutionContext*, Event* event) diff --git a/Source/WebCore/platform/android/RenderThemeAndroid.cpp b/Source/WebCore/platform/android/RenderThemeAndroid.cpp index f8e1950..86380e7 100644 --- a/Source/WebCore/platform/android/RenderThemeAndroid.cpp +++ b/Source/WebCore/platform/android/RenderThemeAndroid.cpp @@ -439,8 +439,8 @@ void RenderThemeAndroid::adjustSliderThumbSize(RenderObject* o) const { static const int sliderThumbWidth = RenderSkinMediaButton::sliderThumbWidth(); static const int sliderThumbHeight = RenderSkinMediaButton::sliderThumbHeight(); - o->style()->setWidth(Length(sliderThumbHeight, Fixed)); - o->style()->setHeight(Length(sliderThumbWidth, Fixed)); + o->style()->setWidth(Length(sliderThumbWidth, Fixed)); + o->style()->setHeight(Length(sliderThumbHeight, Fixed)); } #endif |