Bug 148425

Summary: Fix the !ENABLE(CSS_REGIONS) build after r188663
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: New BugsAssignee: Csaba Osztrogonác <ossy>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, ggaren, ossy
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 148193    
Attachments:
Description Flags
Patch none

Description Csaba Osztrogonác 2015-08-25 03:08:53 PDT
http://trac.webkit.org/changeset/188663 broke the !ENABLE(CSS_REGIONS) 
build, because JSDOMNamedFlowCollection class is defined inside guard.
( http://trac.webkit.org/browser/trunk/Source/WebCore/dom/DOMNamedFlowCollection.idl#L1 )

build log:

../../Source/WebCore/bindings/js/JSDOMNamedFlowCollectionCustom.cpp:37:6: error: 'JSDOMNamedFlowCollection' has not been declared
../../Source/WebCore/bindings/js/JSDOMNamedFlowCollectionCustom.cpp: In function 'bool WebCore::nameGetter(JSC::ExecState*, JSC::PropertyName, JSC::JSValue&)':
../../Source/WebCore/bindings/js/JSDOMNamedFlowCollectionCustom.cpp:39:22: error: 'impl' was not declared in this scope
../../Source/WebCore/bindings/js/JSDOMNamedFlowCollectionCustom.cpp:43:37: error: 'globalObject' was not declared in this scope
ninja: build stopped: subcommand failed.

There is no need for JSDOMNamedFlowCollection::nameGetter() outside the guard,
so let's guard the whole Source/WebCore/bindings/js/JSDOMNamedFlowCollectionCustom.cpp
Comment 1 Csaba Osztrogonác 2015-08-25 03:13:44 PDT
Created attachment 259835 [details]
Patch
Comment 2 Chris Dumez 2015-08-25 08:59:29 PDT
Comment on attachment 259835 [details]
Patch

r=me, thanks!
Comment 3 WebKit Commit Bot 2015-08-25 11:04:25 PDT
Comment on attachment 259835 [details]
Patch

Clearing flags on attachment: 259835

Committed r188921: <http://trac.webkit.org/changeset/188921>
Comment 4 WebKit Commit Bot 2015-08-25 11:04:30 PDT
All reviewed patches have been landed.  Closing bug.