Bug 134629

Summary: [EFL][WK2]Fix build break in EFL WK2
Product: WebKit Reporter: Rohit <kumar.rohit>
Component: WebKit EFLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bunhere, cmarcelo, commit-queue, gyuyoung.kim, hyuki.kim, lucas.de.marchi, luiz, noam, ryuan.choi, sergio, zeno
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Rohit
Reported 2014-07-04 04:10:03 PDT
Build log: [ 82%] Building CXX object Source/WebKit2/CMakeFiles/WebKit2.dir/WebProcess/WebPage/VisitedLinkTableController.cpp.o In file included from /home/kumar.rohit/WebKit/Source/WTF/wtf/FastMalloc.h:27:0, from /home/kumar.rohit/WebKit/Source/WebKit2/config.h:55, from /home/kumar.rohit/WebKit/Source/WebKit2/WebProcess/WebPage/DrawingArea.cpp:26: /home/kumar.rohit/WebKit/Source/WTF/wtf/StdLibExtras.h: In instantiation of ‘typename std::_Unique_if<T>::_Single_object std::make_unique(Args&& ...) [with T = WebKit::CoordinatedDrawingArea; Args = {WebKit::WebPage&, const WebKit::WebPageCreationParameters&}; typename std::_Unique_if<T>::_Single_object = std::unique_ptr<WebKit::CoordinatedDrawingArea, std::default_delete<WebKit::CoordinatedDrawingArea> >]’: /home/kumar.rohit/WebKit/Source/WebKit2/WebProcess/WebPage/DrawingArea.cpp:63:76: required from here /home/kumar.rohit/WebKit/Source/WTF/wtf/StdLibExtras.h:362:60: error: cannot allocate an object of abstract type ‘WebKit::CoordinatedDrawingArea’ return unique_ptr<T>(new T(std::forward<Args>(args)...)); ^ In file included from /home/kumar.rohit/WebKit/Source/WebKit2/WebProcess/WebPage/DrawingArea.cpp:38:0: /home/kumar.rohit/WebKit/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h:39:7: note: because the following virtual functions are pure within ‘WebKit::CoordinatedDrawingArea’: class CoordinatedDrawingArea : public DrawingArea { ^ In file included from /home/kumar.rohit/WebKit/Source/WebKit2/WebProcess/WebPage/DrawingArea.cpp:27:0: /home/kumar.rohit/WebKit/Source/WebKit2/WebProcess/WebPage/DrawingArea.h:104:18: note: virtual void WebKit::DrawingArea::scheduleCompositingLayerFlushImmediately() virtual void scheduleCompositingLayerFlushImmediately() = 0; ^ [ 82%] Building CXX object Source/WebKit2/CMakeFiles/WebKit2.dir/WebProcess/WebPage/WebUndoStep.cpp.o In file included from /home/kumar.rohit/WebKit/Source/WTF/wtf/FastMalloc.h:27:0, from /home/kumar.rohit/WebKit/Source/WebKit2/config.h:55, from /home/kumar.rohit/WebKit/Source/WebKit2/WebProcess/WebPage/DrawingArea.cpp:26: /home/kumar.rohit/WebKit/Source/WTF/wtf/StdLibExtras.h: In function ‘typename std::_Unique_if<T>::_Single_object std::make_unique(Args&& ...) [with T = WebKit::CoordinatedDrawingArea; Args = {WebKit::WebPage&, const WebKit::WebPageCreationParameters&}; typename std::_Unique_if<T>::_Single_object = std::unique_ptr<WebKit::CoordinatedDrawingArea, std::default_delete<WebKit::CoordinatedDrawingArea> >]’: /home/kumar.rohit/WebKit/Source/WTF/wtf/StdLibExtras.h:363:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1plus: all warnings being treated as errors
Attachments
Patch (2.54 KB, patch)
2014-07-04 04:26 PDT, Rohit
no flags
Rohit
Comment 1 2014-07-04 04:26:50 PDT
KwangHyuk
Comment 2 2014-07-04 05:50:16 PDT
I need this patch. :) This broke my build for now.
Ryuan Choi
Comment 3 2014-07-04 15:27:55 PDT
Ryuan Choi
Comment 4 2014-07-04 15:28:40 PDT
Comment on attachment 234401 [details] Patch Clear r? after landed without review. It's because this is just for build fix.
Note You need to log in before you can comment on or make changes to this bug.