Bug 152666 - Rename scrollPosition(Scrollbar*) to scrollOffset(ScrollbarOrientation)
Summary: Rename scrollPosition(Scrollbar*) to scrollOffset(ScrollbarOrientation)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-03 10:39 PST by Simon Fraser (smfr)
Modified: 2016-01-03 17:20 PST (History)
7 users (show)

See Also:


Attachments
Patch (11.21 KB, patch)
2016-01-03 10:41 PST, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Patch (12.66 KB, patch)
2016-01-03 11:20 PST, Simon Fraser (smfr)
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2016-01-03 10:39:39 PST
Rename scrollPosition(Scrollbar*) to scrollOffset(ScrollbarOrientation)
Comment 1 Simon Fraser (smfr) 2016-01-03 10:41:06 PST
Created attachment 268141 [details]
Patch
Comment 2 Simon Fraser (smfr) 2016-01-03 11:20:35 PST
Created attachment 268145 [details]
Patch
Comment 3 mitz 2016-01-03 11:24:08 PST
Comment on attachment 268145 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=268145&action=review

> Source/WebCore/ChangeLog:15
> +        (WebCore::ScrollView::scrollPosition): Deleted.

Renamed

> Source/WebCore/ChangeLog:24
> +        (WebCore::RenderLayer::scrollPosition): Deleted.

Renamed

> Source/WebCore/ChangeLog:28
> +        (WebCore::RenderListBox::scrollPosition): Deleted.

Renamed
Comment 4 Simon Fraser (smfr) 2016-01-03 11:51:25 PST
https://trac.webkit.org/changeset/194515
Comment 5 David Kilzer (:ddkilzer) 2016-01-03 16:57:52 PST
(In reply to comment #4)
> https://trac.webkit.org/changeset/194515

Looks like this broke the Windows build.  Too bad you didn't wait for the EWS to finish?

<https://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/74925>
Comment 6 David Kilzer (:ddkilzer) 2016-01-03 16:58:58 PST
(In reply to comment #5)
> (In reply to comment #4)
> > https://trac.webkit.org/changeset/194515
> 
> Looks like this broke the Windows build.  Too bad you didn't wait for the
> EWS to finish?
> 
> <https://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/
> builds/74925>

c:\cygwin\home\buildbot\slave\win-release\build\source\webcore\platform\win\PopupMenuWin.h(95): error C3668: 'WebCore::PopupMenuWin::scrollPosition': method with override specifier 'override' did not override any base class methods (compiling source file C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\win\PopupMenuWin.cpp) [C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\Source\WebCore\WebCore.vcxproj]
c:\cygwin\home\buildbot\slave\win-release\build\source\webcore\platform\win\PopupMenuWin.h(95): error C3668: 'WebCore::PopupMenuWin::scrollPosition': method with override specifier 'override' did not override any base class methods (compiling source file C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\win\SearchPopupMenuWin.cpp) [C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\Source\WebCore\WebCore.vcxproj]
C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\win\SearchPopupMenuWin.cpp(33): error C2259: 'WebCore::PopupMenuWin': cannot instantiate abstract class [C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\Source\WebCore\WebCore.vcxproj]
  C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\win\SearchPopupMenuWin.cpp(33): note: due to following members:
  C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\win\SearchPopupMenuWin.cpp(33): note: 'int WebCore::ScrollableArea::scrollOffset(WebCore::ScrollbarOrientation) const': is abstract
  C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\ScrollableArea.h(149): note: see declaration of 'WebCore::ScrollableArea::scrollOffset'
Comment 7 Simon Fraser (smfr) 2016-01-03 17:20:08 PST
Windows fixed in r194522.