Bug 134629 - [EFL][WK2]Fix build break in EFL WK2
Summary: [EFL][WK2]Fix build break in EFL WK2
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-04 04:10 PDT by Rohit
Modified: 2014-07-04 15:28 PDT (History)
11 users (show)

See Also:


Attachments
Patch (2.54 KB, patch)
2014-07-04 04:26 PDT, Rohit
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rohit 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
Comment 1 Rohit 2014-07-04 04:26:50 PDT
Created attachment 234401 [details]
Patch
Comment 2 KwangHyuk 2014-07-04 05:50:16 PDT
I need this patch. :)
This broke my build for now.
Comment 3 Ryuan Choi 2014-07-04 15:27:55 PDT
Committed r170814: <http://trac.webkit.org/changeset/170814>
Comment 4 Ryuan Choi 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.