Bug 184585 - WebCore::NavigatorStorageQuota::from: error: ‘window’ was not declared in this scope
Summary: WebCore::NavigatorStorageQuota::from: error: ‘window’ was not declared in thi...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-13 05:30 PDT by Дилян Палаузов
Modified: 2018-04-13 05:30 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Дилян Палаузов 2018-04-13 05:30:51 PDT
Compiling webkitgtk 20.1 fails with:

[  0%] Built target WebKit-fake-api-headers
[  1%] Built target bmalloc
[ 10%] Built target WTFForwardingHeaders
[ 22%] Built target WTF
[ 23%] Built target stageSharedScripts
[ 23%] Built target LLIntOffsetsExtractor
[ 39%] Built target JavaScriptCoreForwardingHeaders
[ 46%] Built target JavaScriptCore
[ 47%] Built target xdgmime
[ 47%] Built target PAL
[ 50%] Built target ANGLESupport
[ 50%] Generate bindings (WebCoreBindings)
[ 50%] Built target WebCoreBindings
[ 50%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/Modules/quota/NavigatorStorageQuota.cpp.o
/src/gnome/webkitgtk-2.20.1/Source/WebCore/Modules/quota/NavigatorStorageQuota.cpp: In static member function ‘static WebCore::NavigatorStorageQuota* WebCore::NavigatorStorageQuota::from(WebCore::Navigator*)’:
/src/gnome/webkitgtk-2.20.1/Source/WebCore/Modules/quota/NavigatorStorageQuota.cpp:58:70: error: ‘window’ was not declared in this scope
         auto newSupplement = std::make_unique<NavigatorStorageQuota>(window);
                                                                      ^~~~~~
/src/gnome/webkitgtk-2.20.1/Source/WebCore/Modules/quota/NavigatorStorageQuota.cpp:58:70: note: suggested alternative: ‘sincos’
         auto newSupplement = std::make_unique<NavigatorStorageQuota>(window);
                                                                      ^~~~~~
                                                                      sincos
make[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/build.make:2609: Source/WebCore/CMakeFiles/WebCore.dir/Modules/quota/NavigatorStorageQuota.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:772: Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
make: *** [Makefile:152: all] Error 2