Changeset 129009 in webkit
- Timestamp:
- Sep 19, 2012 8:30:43 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r129005 r129009 1 2012-09-19 Raul Hudea <rhudea@adobe.com> 2 3 [CSSRegions][CSSOM] Make sure all Regions APIs are not visible if CSS_REGIONS is not defined 4 https://bugs.webkit.org/show_bug.cgi?id=96300 5 6 Reviewed by Yury Semikhatsky. 7 8 All CSS Regions APIs should be exposed only if CSS_REGIONS is enabled 9 10 No new tests because of no behavior changes. 11 12 * css/StyleRule.cpp: 13 (WebCore::StyleRuleBase::reportMemoryUsage): Fix compile without CSS_REGIONS enabled and added an ASSERT_NOT_REACHED as in other functions 14 * dom/Element.cpp: Compile webkitRegionOverset only if CSS_REGIONS is enabled 15 (WebCore): 16 * dom/Element.h: 17 * dom/Element.idl: Expose webkitRegionOverset only if CSS_REGIONS is enabled 18 1 19 2012-09-19 Patrick Gansterer <paroga@webkit.org> 2 20 -
trunk/Source/WebCore/css/StyleRule.cpp
r128762 r129009 82 82 case Charset: 83 83 case Keyframe: 84 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 84 #if !ENABLE(CSS_REGIONS) 85 case Region: 86 #endif 87 ASSERT_NOT_REACHED(); 85 88 return; 86 89 } -
trunk/Source/WebCore/dom/Element.cpp
r128559 r129009 2034 2034 } 2035 2035 2036 #if ENABLE(CSS_REGIONS) 2037 2036 2038 const AtomicString& Element::webkitRegionOverset() const 2037 2039 { … … 2062 2064 return undefinedState; 2063 2065 } 2064 2065 #if ENABLE(CSS_REGIONS)2066 2066 2067 2067 Vector<RefPtr<Range> > Element::webkitGetRegionFlowRanges() const -
trunk/Source/WebCore/dom/Element.h
r128762 r129009 427 427 428 428 RenderRegion* renderRegion() const; 429 #if ENABLE(CSS_REGIONS) 429 430 const AtomicString& webkitRegionOverset() const; 430 #if ENABLE(CSS_REGIONS)431 431 Vector<RefPtr<Range> > webkitGetRegionFlowRanges() const; 432 432 #endif -
trunk/Source/WebCore/dom/Element.idl
r128416 r129009 144 144 145 145 // CSS Regions API 146 readonly attribute DOMString webkitRegionOverset;146 readonly attribute [Conditional=CSS_REGIONS] DOMString webkitRegionOverset; 147 147 [Conditional=CSS_REGIONS] sequence<Range> webkitGetRegionFlowRanges(); 148 148
Note: See TracChangeset
for help on using the changeset viewer.