RESOLVED FIXED 23480
Add missing method stubs to BackForwardListChromium
https://bugs.webkit.org/show_bug.cgi?id=23480
Summary Add missing method stubs to BackForwardListChromium
Dimitri Glazkov (Google)
Reported 2009-01-22 10:35:41 PST
It turns out that two methods are being called by Page::goBack and Page::goForward, respectively -- it's the respective callsites that are never being called. For more information, see bug 23384.
Attachments
v1 submitted for review (651 bytes, patch)
2009-01-22 10:40 PST, Dimitri Glazkov (Google)
no flags
v1 submitted for review (1.24 KB, patch)
2009-01-22 10:40 PST, Dimitri Glazkov (Google)
darin: review+
Dimitri Glazkov (Google)
Comment 1 2009-01-22 10:40:02 PST
Created attachment 26931 [details] v1 submitted for review WebCore/history/BackForwardListChromium.cpp | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
Dimitri Glazkov (Google)
Comment 2 2009-01-22 10:40:51 PST
Created attachment 26932 [details] v1 submitted for review WebCore/ChangeLog | 11 +++++++++++ WebCore/history/BackForwardListChromium.cpp | 12 ++++++++++++ 2 files changed, 23 insertions(+), 0 deletions(-)
Darin Adler
Comment 3 2009-01-23 16:06:14 PST
Comment on attachment 26932 [details] v1 submitted for review Darin Fisher and I discussed leaving out unneeded functions intentionally, using the linker to find the error. Since you're submitting a patch to add these back, I guess there must be some code that's calling these. So I don't understand why ASSERT_NOT_REACHED is OK. You should check with Darin. But r=me
Darin Fisher (:fishd, Google)
Comment 4 2009-01-24 10:38:07 PST
Hi Darin, see comment #0. It turns out that two of the "not reached" methods are needed because they are referenced by other code that we compile. See Page::goBack() and Page::goForward(). So, the linker requires us to define those methods. However, goBack and goForward are never called by WebCore or our WebKit layer, so we can get away with not implementing them.
Dimitri Glazkov (Google)
Comment 5 2009-01-26 08:46:05 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/history/BackForwardListChromium.cpp Committed r40249 http://trac.webkit.org/changeset/40249.
Note You need to log in before you can comment on or make changes to this bug.