Summary: | LOW_BANDWIDTH_DISPLAY build is broken | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alp Toker <alp> | ||||||
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | dacarson, klobag | ||||||
Priority: | P2 | Keywords: | Gtk | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Alp Toker
2007-12-14 02:40:52 PST
Created attachment 17923 [details]
Make LOW_BANDWIDTH_DISPLAY compile
The patch should make the project compile and it is what we use. But it doesn't work with Mac port any more. Can someone inside Apple take a look?
ASSERTION FAILED: thisDocumentView != nil
(/Volumes/Android/appleWebKit/WebKit/WebCoreSupport/WebFrameLoaderClient.mm:222 forceLayoutForNonHTML)
Comment on attachment 17923 [details]
Make LOW_BANDWIDTH_DISPLAY compile
The rest of the changes look fine, but the change to FrameLoader doesn't seem to have anything to do with LOW_BANDWIDTH_DISPLAY.
I'm guessing that for some reason Android derives a subclass from FrameLoader. That doesn't sound like a good idea to me, but also seems unrelated to LOW_BANDWIDTH_DISPLAY so should not be controlled by the same ifdef.
The change in the FrameLoader.h was in the original patch. Android doesn't need it. But we discovered that we had to add it to avoid crash in the Mac port back then. I am happy to remove it. (In reply to comment #3) > (From update of attachment 17923 [details] [edit]) > The rest of the changes look fine, but the change to FrameLoader doesn't seem > to have anything to do with LOW_BANDWIDTH_DISPLAY. > > I'm guessing that for some reason Android derives a subclass from FrameLoader. > That doesn't sound like a good idea to me, but also seems unrelated to > LOW_BANDWIDTH_DISPLAY so should not be controlled by the same ifdef. > Created attachment 17941 [details]
new patch to make LOW_BANDWIDTH_DISPLAY compile
Remove the change in the FrameLoader.h
Comment on attachment 17941 [details]
new patch to make LOW_BANDWIDTH_DISPLAY compile
r=me
|