Changeset 147389 in webkit
- Timestamp:
- Apr 1, 2013 11:16:22 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147388 r147389 1 2013-04-01 Tien-Ren Chen <trchen@chromium.org> 2 3 Hide non-coordinated scrollbars for Android M26 4 https://bugs.webkit.org/show_bug.cgi?id=113738 5 6 Reviewed by Simon Fraser. 7 8 This patch will hide any non-coordinated scrollbars on Android. 9 Coordinated scrollbars won't be affected. 10 11 Currently all scrollbars are coordinated on Android. The sole purpose 12 of this patch is to be cherry-picked to the M26 branch. 13 14 No new tests. Please revert immediately after landed. 15 16 * platform/ScrollView.cpp: 17 (WebCore::positionScrollbarLayer): 18 * rendering/RenderLayerBacking.cpp: 19 (WebCore::RenderLayerBacking::positionOverflowControlsLayers): 20 1 21 2013-04-01 Chris Evans <cevans@google.com> 2 22 -
trunk/Source/WebCore/platform/ScrollView.cpp
r147039 r147389 917 917 } 918 918 919 #if OS(ANDROID) 920 graphicsLayer->setDrawsContent(false); 921 #else 919 922 graphicsLayer->setDrawsContent(true); 923 #endif 920 924 graphicsLayer->setNeedsDisplay(); 921 925 } -
trunk/Source/WebCore/rendering/RenderLayerBacking.cpp
r147204 r147389 1090 1090 layer->setContentsRect(IntRect(IntPoint(), hBar->frameRect().size())); 1091 1091 } 1092 #if OS(ANDROID) 1093 layer->setDrawsContent(false); 1094 #else 1092 1095 layer->setDrawsContent(hBar && !layer->hasContentsLayer()); 1096 #endif 1093 1097 } 1094 1098 … … 1101 1105 layer->setContentsRect(IntRect(IntPoint(), vBar->frameRect().size())); 1102 1106 } 1107 #if OS(ANDROID) 1108 layer->setDrawsContent(false); 1109 #else 1103 1110 layer->setDrawsContent(vBar && !layer->hasContentsLayer()); 1111 #endif 1104 1112 } 1105 1113
Note: See TracChangeset
for help on using the changeset viewer.