Bug 148425 - Fix the !ENABLE(CSS_REGIONS) build after r188663
Summary: Fix the !ENABLE(CSS_REGIONS) build after r188663
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Csaba Osztrogonác
URL:
Keywords:
Depends on:
Blocks: 148193
  Show dependency treegraph
 
Reported: 2015-08-25 03:08 PDT by Csaba Osztrogonác
Modified: 2015-08-25 11:04 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.37 KB, patch)
2015-08-25 03:13 PDT, Csaba Osztrogonác
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.