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

Unified Diff: third_party/WebKit/WebCore/platform/gtk/ScrollViewGtk.cpp

Issue 21184: WebKit merge 40722:40785 (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/WebCore/platform/gtk/ScrollViewGtk.cpp
===================================================================
--- third_party/WebKit/WebCore/platform/gtk/ScrollViewGtk.cpp (revision 9391)
+++ third_party/WebKit/WebCore/platform/gtk/ScrollViewGtk.cpp (working copy)
@@ -154,7 +154,7 @@
m_horizontalAdjustment->upper = contentsWidth();
gtk_adjustment_changed(m_horizontalAdjustment);
- if (m_scrollOffset.width() != scroll.width()) {
+ if (m_horizontalAdjustment->value != scroll.width()) {
m_horizontalAdjustment->value = scroll.width();
gtk_adjustment_value_changed(m_horizontalAdjustment);
}
@@ -173,7 +173,7 @@
m_verticalAdjustment->upper = contentsHeight();
gtk_adjustment_changed(m_verticalAdjustment);
- if (m_scrollOffset.height() != scroll.height()) {
+ if (m_verticalAdjustment->value != scroll.height()) {
m_verticalAdjustment->value = scroll.height();
gtk_adjustment_value_changed(m_verticalAdjustment);
}
« no previous file with comments | « third_party/WebKit/WebCore/platform/graphics/wx/SimpleFontDataWx.cpp ('k') | third_party/WebKit/WebCore/rendering/InlineBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698