Bug 45728

Summary: [EFL] Fix a build break by Bug 45494
Product: WebKit Reporter: Gyuyoung Kim <gyuyoung.kim>
Component: WebKit EFLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: enrica, kenneth, lucas.de.marchi, tonikitoo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch none

Gyuyoung Kim
Reported 2010-09-13 19:20:45 PDT
There is a build break as below when WebKit EFL is built. /home/gyuyoung/webkit/WebKit-git/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp:681: error: virtual outside class declaration
Attachments
Patch (1.27 KB, patch)
2010-09-13 19:24 PDT, Gyuyoung Kim
no flags
Gyuyoung Kim
Comment 1 2010-09-13 19:24:19 PDT
Created attachment 67510 [details] Patch I remove the "virtual" keyword in FrameLoaderClientEfl.cpp.
Antonio Gomes
Comment 2 2010-09-13 20:16:52 PDT
Comment on attachment 67510 [details] Patch [23:13] <demarchi> see in WebCore/loader/EmptyClients.h [23:13] <demarchi> there's the following method: [23:13] <demarchi> + virtual bool canShowMIMETypeAsHTML(const String&) const { return false; } [23:13] <demarchi> without ifdefs [23:13] <demarchi> but in WebCore/loader/FrameLoaderClient.h, they added the definition using #if PLATFORM(MAC) [23:14] <tonikitoo> so it should just remove the whole method. is that it? [23:15] <demarchi> i think so ...[quote]
Gyuyoung Kim
Comment 3 2010-09-13 21:07:18 PDT
The "#if PLATFORM(MAC)" macro was removed in WebCore/loader/FrameLoaderClient.h. Reviewer wanted to remove the macro.(Bug 45494 Comment #6). So, I think we need to keep the function.
Lucas De Marchi
Comment 4 2010-09-14 04:42:44 PDT
(In reply to comment #3) > The "#if PLATFORM(MAC)" macro was removed in WebCore/loader/FrameLoaderClient.h. Reviewer wanted to remove the macro.(Bug 45494 Comment #6). So, I think we need to keep the function. Antonio, as I told, that patch from MAC was wrong ;-). Closing this bug.
Lucas De Marchi
Comment 5 2010-09-14 04:43:09 PDT
Comment on attachment 67510 [details] Patch Clearing flags.
Lucas De Marchi
Comment 6 2010-09-14 05:01:47 PDT
Re-opening this bug since the #if PLATFORM(MAC) was not removed yet. Enrica, since the implementation of this method is just a NotImplemented() in EFL, do you think it's better to just remove it or you are going to remove the #if?
Gyuyoung Kim
Comment 7 2010-09-16 19:24:17 PDT
Leandro already fix this bug. So, I close this bug.
Note You need to log in before you can comment on or make changes to this bug.