Part 2 of removing PlatformString.h, remove PlatformString.h
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2012-09-05  Sam Weinig  <sam@webkit.org>
2
3         Part 2 of removing PlatformString.h, remove PlatformString.h
4         https://bugs.webkit.org/show_bug.cgi?id=95931
5
6         Reviewed by Adam Barth.
7
8         Remove PlatformString.h
9
10         * GNUmakefile.list.am:
11         * Modules/filesystem/AsyncFileWriter.h:
12         * Modules/filesystem/DOMFilePath.h:
13         * Modules/filesystem/DOMFileSystemBase.h:
14         * Modules/filesystem/DirectoryEntry.h:
15         * Modules/filesystem/DirectoryEntrySync.h:
16         * Modules/filesystem/DirectoryReader.h:
17         * Modules/filesystem/DirectoryReaderBase.h:
18         * Modules/filesystem/DirectoryReaderSync.h:
19         * Modules/filesystem/EntryBase.cpp:
20         * Modules/filesystem/EntrySync.h:
21         * Modules/filesystem/FileEntrySync.h:
22         * Modules/filesystem/FileSystemCallbacks.h:
23         * Modules/filesystem/LocalFileSystem.h:
24         * Modules/geolocation/GeolocationError.h:
25         * Modules/geolocation/Geoposition.h:
26         * Modules/geolocation/PositionError.h:
27         * Modules/indexeddb/IDBAny.h:
28         * Modules/indexeddb/IDBDatabaseBackendInterface.h:
29         * Modules/indexeddb/IDBDatabaseCallbacks.h:
30         * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
31         * Modules/indexeddb/IDBDatabaseError.h:
32         * Modules/indexeddb/IDBFactory.h:
33         * Modules/indexeddb/IDBFactoryBackendInterface.h:
34         * Modules/indexeddb/IDBIndex.h:
35         * Modules/indexeddb/IDBIndexBackendInterface.h:
36         * Modules/indexeddb/IDBKey.h:
37         * Modules/indexeddb/IDBKeyPath.h:
38         * Modules/indexeddb/IDBMetadata.h:
39         * Modules/indexeddb/IDBObjectStore.h:
40         * Modules/indexeddb/IDBObjectStoreBackendInterface.h:
41         * Modules/indexeddb/IDBTransactionBackendInterface.h:
42         * Modules/indexeddb/IDBUpgradeNeededEvent.h:
43         * Modules/indexeddb/IDBVersionChangeEvent.h:
44         * Modules/mediastream/MediaStreamTrack.h:
45         * Modules/networkinfo/NetworkInfoConnection.h:
46         * Modules/notifications/DOMWindowNotifications.h:
47         * Modules/speech/SpeechGrammar.h:
48         * Modules/speech/SpeechRecognition.h:
49         * Modules/speech/SpeechRecognitionAlternative.h:
50         * Modules/speech/SpeechRecognitionClient.h:
51         * Modules/speech/SpeechRecognitionError.h:
52         * Modules/webaudio/AudioContext.cpp:
53         * Modules/webaudio/AudioParam.h:
54         * Modules/webdatabase/AbstractDatabase.h:
55         * Modules/webdatabase/ChangeVersionWrapper.h:
56         * Modules/webdatabase/DOMWindowWebDatabase.h:
57         * Modules/webdatabase/Database.h:
58         * Modules/webdatabase/DatabaseAuthorizer.cpp:
59         * Modules/webdatabase/DatabaseAuthorizer.h:
60         * Modules/webdatabase/DatabaseDetails.h:
61         * Modules/webdatabase/DatabaseSync.h:
62         * Modules/webdatabase/DatabaseTask.h:
63         * Modules/webdatabase/DatabaseTracker.h:
64         * Modules/webdatabase/OriginUsageRecord.h:
65         * Modules/webdatabase/SQLError.h:
66         * Modules/webdatabase/SQLStatement.h:
67         * Modules/webdatabase/SQLStatementSync.h:
68         * Modules/webdatabase/SQLTransaction.cpp:
69         * Modules/webdatabase/SQLTransactionSync.cpp:
70         * Modules/webdatabase/SQLTransactionSync.h:
71         * Modules/webdatabase/WorkerContextWebDatabase.h:
72         * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
73         * Modules/webdatabase/chromium/QuotaTracker.h:
74         * Modules/websockets/ThreadableWebSocketChannel.cpp:
75         * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
76         * Modules/websockets/WebSocketHandshake.h:
77         * Modules/websockets/WebSocketHandshakeResponse.h:
78         * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
79         * Modules/websockets/WorkerThreadableWebSocketChannel.h:
80         * WebCore.gypi:
81         * WebCore.vcproj/WebCore.vcproj:
82         * WebCore.xcodeproj/project.pbxproj:
83         * bindings/gobject/ConvertToUTF8String.cpp:
84         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
85         * bindings/js/JSClipboardCustom.cpp:
86         * bindings/js/JSImageDataCustom.cpp:
87         * bindings/js/JSInspectorFrontendHostCustom.cpp:
88         * bindings/js/JSLazyEventListener.h:
89         * bindings/js/JSStorageCustom.cpp:
90         * bindings/js/JSXSLTProcessorCustom.cpp:
91         * bindings/js/JavaScriptCallFrame.cpp:
92         * bindings/js/ScheduledAction.h:
93         * bindings/js/ScriptDebugServer.h:
94         * bindings/js/ScriptHeapSnapshot.h:
95         * bindings/js/ScriptValue.h:
96         * bindings/js/SerializedScriptValue.h:
97         * bindings/objc/DOMCustomXPathNSResolver.mm:
98         * bindings/objc/DOMXPath.mm:
99         * bindings/objc/WebScriptObject.mm:
100         * bindings/scripts/CodeGeneratorJS.pm:
101         (AddIncludesForTypeInImpl):
102         (AddIncludesForSVGAnimatedType):
103         * bindings/scripts/CodeGeneratorV8.pm:
104         (AddIncludesForType):
105         * bindings/v8/Dictionary.h:
106         * bindings/v8/JavaScriptCallFrame.h:
107         * bindings/v8/NPV8Object.cpp:
108         * bindings/v8/ScriptDebugServer.h:
109         * bindings/v8/ScriptFunctionCall.h:
110         * bindings/v8/ScriptHeapSnapshot.h:
111         * bindings/v8/ScriptProfile.h:
112         * bindings/v8/ScriptProfileNode.h:
113         * bindings/v8/ScriptProfiler.h:
114         * bindings/v8/ScriptSourceCode.h:
115         * bindings/v8/V8Binding.cpp:
116         * bindings/v8/V8DOMWrapper.h:
117         * bindings/v8/V8LazyEventListener.h:
118         * bindings/v8/V8NPUtils.cpp:
119         * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
120         * bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:
121         * bindings/v8/custom/V8LocationCustom.cpp:
122         * bridge/IdentifierRep.cpp:
123         * bridge/NP_jsobject.cpp:
124         * bridge/c/c_utility.cpp:
125         * css/CSSBasicShapes.h:
126         * css/CSSBorderImageSliceValue.cpp:
127         * css/CSSCharsetRule.h:
128         * css/CSSCursorImageValue.cpp:
129         * css/CSSFontFaceSrcValue.h:
130         * css/CSSGradientValue.cpp:
131         * css/CSSInheritedValue.cpp:
132         * css/CSSInitialValue.cpp:
133         * css/CSSLineBoxContainValue.cpp:
134         * css/CSSMediaRule.h:
135         * css/CSSProperty.cpp:
136         * css/CSSPropertySourceData.cpp:
137         * css/CSSPropertySourceData.h:
138         * css/CSSReflectValue.cpp:
139         * css/CSSTimingFunctionValue.cpp:
140         * css/CSSUnicodeRangeValue.cpp:
141         * css/CSSValueList.cpp:
142         * css/Counter.h:
143         * css/FontFeatureValue.h:
144         * css/FontValue.cpp:
145         * css/MediaQuery.h:
146         * css/MediaQueryEvaluator.h:
147         * css/MediaQueryListListener.h:
148         * css/ShadowValue.cpp:
149         * css/StyleMedia.h:
150         * css/StyleSheet.h:
151         * css/StyleSheetList.cpp:
152         * css/WebKitCSSMatrix.h:
153         * css/WebKitCSSTransformValue.cpp:
154         * dom/DOMStringList.h:
155         * dom/DOMStringMap.h:
156         * dom/DocumentMarker.h:
157         * dom/ErrorEvent.h:
158         * dom/ExceptionBase.h:
159         * dom/MessagePortChannel.h:
160         * dom/MutationRecord.h:
161         * dom/TransformSource.h:
162         * dom/ViewportArguments.cpp:
163         * editing/DOMTransactionStep.h:
164         * editing/EditingStyle.h:
165         * editing/MarkupAccumulator.h:
166         * editing/SmartReplaceICU.cpp:
167         * editing/SpellChecker.h:
168         * editing/SurroundingText.h:
169         * fileapi/AsyncFileStream.cpp:
170         * fileapi/Blob.h:
171         * fileapi/BlobURL.cpp:
172         * fileapi/File.h:
173         * history/HistoryItem.h:
174         * history/blackberry/HistoryItemViewState.h:
175         * history/cf/HistoryPropertyList.h:
176         * html/DOMFormData.cpp:
177         * html/DOMURL.h:
178         * html/MicroDataItemValue.h:
179         * html/PublicURLManager.h:
180         * html/canvas/CanvasPattern.cpp:
181         * html/canvas/CanvasRenderingContext2D.h:
182         * html/canvas/CanvasStyle.h:
183         * html/canvas/WebGLActiveInfo.h:
184         * html/canvas/WebGLGetInfo.h:
185         * html/canvas/WebGLRenderingContext.h:
186         * html/parser/CSSPreloadScanner.h:
187         * html/parser/HTMLEntitySearch.h:
188         * html/parser/HTMLEntityTable.h:
189         * html/parser/HTMLMetaCharsetParser.cpp:
190         * inspector/CodeGeneratorInspector.py:
191         (InspectorFrontend_h):
192         * inspector/ContentSearchUtils.h:
193         * inspector/InjectedScript.cpp:
194         * inspector/InjectedScriptBase.cpp:
195         * inspector/InjectedScriptManager.h:
196         * inspector/InjectedScriptModule.h:
197         * inspector/InjectedScriptWebGLModule.h:
198         * inspector/InspectorAgent.h:
199         * inspector/InspectorCSSAgent.h:
200         * inspector/InspectorController.h:
201         * inspector/InspectorDOMDebuggerAgent.h:
202         * inspector/InspectorDOMStorageAgent.h:
203         * inspector/InspectorDatabaseAgent.h:
204         * inspector/InspectorDatabaseResource.h:
205         * inspector/InspectorFrontendClientLocal.cpp:
206         * inspector/InspectorFrontendClientLocal.h:
207         * inspector/InspectorFrontendHost.h:
208         * inspector/InspectorIndexedDBAgent.h:
209         * inspector/InspectorPageAgent.h:
210         * inspector/InspectorProfilerAgent.h:
211         * inspector/InspectorResourceAgent.h:
212         * inspector/InspectorState.h:
213         * inspector/InspectorStyleSheet.h:
214         * inspector/InspectorStyleTextEditor.h:
215         * inspector/InspectorValues.h:
216         * inspector/InspectorWebGLAgent.h:
217         * inspector/InspectorWorkerResource.h:
218         * inspector/ScriptArguments.h:
219         * inspector/ScriptBreakpoint.h:
220         * inspector/ScriptCallFrame.h:
221         * inspector/ScriptDebugListener.h:
222         * inspector/TimelineRecordFactory.h:
223         * inspector/generate-inspector-protocol-version:
224         (main):
225         * loader/DocumentLoader.cpp:
226         * loader/DocumentWriter.h:
227         * loader/FTPDirectoryParser.h:
228         * loader/FormState.h:
229         * loader/HistoryController.h:
230         * loader/PolicyChecker.h:
231         * loader/ResourceLoadScheduler.h:
232         * loader/SubframeLoader.h:
233         * loader/SubstituteData.h:
234         * loader/WorkerThreadableLoader.h:
235         * loader/appcache/ApplicationCache.h:
236         * loader/appcache/ApplicationCacheGroup.h:
237         * loader/archive/ArchiveFactory.cpp:
238         * loader/archive/ArchiveResourceCollection.h:
239         * loader/cache/CachedResource.h:
240         * loader/cache/MemoryCache.h:
241         * loader/icon/IconRecord.h:
242         * loader/icon/PageURLRecord.h:
243         * loader/mac/LoaderNSURLExtras.mm:
244         * loader/win/DocumentLoaderWin.cpp:
245         * page/Console.cpp:
246         * page/Coordinates.h:
247         * page/DOMSelection.cpp:
248         * page/EventSource.cpp:
249         * page/GroupSettings.h:
250         * page/NavigatorBase.cpp:
251         * page/OriginAccessEntry.h:
252         * page/Page.h:
253         * page/SecurityOrigin.h:
254         * page/SpeechInputResult.h:
255         * page/UserContentURLPattern.h:
256         * page/WindowFeatures.cpp:
257         * page/WindowFeatures.h:
258         * page/WorkerNavigator.h:
259         * page/animation/AnimationControllerPrivate.h:
260         * platform/AsyncFileSystem.h:
261         * platform/AsyncFileSystemCallbacks.h:
262         * platform/ContentType.h:
263         * platform/ContextMenu.h:
264         * platform/ContextMenuItem.h:
265         * platform/Cookie.h:
266         * platform/CrossThreadCopier.cpp:
267         * platform/DateComponents.cpp:
268         * platform/FileChooser.h:
269         * platform/FileStream.cpp:
270         * platform/FileSystem.h:
271         * platform/KURL.cpp:
272         (WebCore):
273         * platform/KURL.h:
274         * platform/KURLHash.h:
275         * platform/KillRing.h:
276         * platform/Language.cpp:
277         * platform/Length.cpp:
278         * platform/LinkHash.cpp:
279         * platform/Logging.cpp:
280         * platform/MIMETypeRegistry.h:
281         * platform/SSLKeyGenerator.h:
282         * platform/SchemeRegistry.h:
283         * platform/SharedBuffer.h:
284         * platform/Theme.h:
285         * platform/UUID.h:
286         * platform/animation/Animation.h:
287         * platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.h:
288         * platform/blackberry/CookieManager.h:
289         * platform/blackberry/CookieMap.h:
290         * platform/blackberry/DragDataBlackBerry.cpp:
291         * platform/blackberry/KURLBlackBerry.cpp:
292         * platform/blackberry/LocalizedStringsBlackBerry.cpp:
293         * platform/blackberry/SSLKeyGeneratorBlackBerry.cpp:
294         * platform/blackberry/TemporaryLinkStubs.cpp:
295         * platform/cf/FileSystemCF.cpp:
296         * platform/cf/SchedulePair.h:
297         * platform/chromium/ChromiumDataObject.h:
298         * platform/chromium/ClipboardUtilitiesChromium.cpp:
299         * platform/chromium/DragDataChromium.cpp:
300         * platform/chromium/FileSystemChromium.cpp:
301         * platform/chromium/FileSystemChromiumMac.mm:
302         * platform/chromium/LanguageChromium.cpp:
303         * platform/chromium/SSLKeyGeneratorChromium.cpp:
304         * platform/cocoa/KeyEventCocoa.mm:
305         * platform/efl/ErrorsEfl.h:
306         * platform/efl/LanguageEfl.cpp:
307         * platform/efl/LocalizedStringsEfl.cpp:
308         * platform/efl/LoggingEfl.cpp:
309         * platform/efl/PasteboardEfl.cpp:
310         * platform/efl/PlatformScreenEfl.cpp:
311         * platform/graphics/ANGLEWebKitBridge.h:
312         * platform/graphics/BitmapImage.cpp:
313         * platform/graphics/FontPlatformData.cpp:
314         * platform/graphics/GlyphPageTreeNode.cpp:
315         * platform/graphics/GraphicsContext3D.h:
316         * platform/graphics/GraphicsTypes.cpp:
317         * platform/graphics/SegmentedFontData.cpp:
318         * platform/graphics/blackberry/IconBlackBerry.cpp:
319         * platform/graphics/blackberry/LayerData.h:
320         * platform/graphics/blackberry/LayerFilterRenderer.cpp:
321         * platform/graphics/blackberry/LayerRenderer.cpp:
322         * platform/graphics/blackberry/skia/PlatformSupport.h:
323         * platform/graphics/ca/PlatformCALayer.h:
324         * platform/graphics/ca/PlatformCALayerClient.h:
325         * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
326         * platform/graphics/ca/win/PlatformCAAnimationWin.cpp:
327         * platform/graphics/cairo/ImageBufferCairo.cpp:
328         * platform/graphics/cairo/PathCairo.cpp:
329         * platform/graphics/cg/ImageSourceCGMac.mm:
330         * platform/graphics/cg/PathCG.cpp:
331         * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
332         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
333         * platform/graphics/chromium/IconChromium.cpp:
334         * platform/graphics/chromium/IconChromiumAndroid.cpp:
335         * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
336         * platform/graphics/efl/IconEfl.cpp:
337         * platform/graphics/filters/FEComposite.h:
338         * platform/graphics/filters/FEDisplacementMap.h:
339         * platform/graphics/filters/SourceAlpha.cpp:
340         * platform/graphics/filters/SourceAlpha.h:
341         * platform/graphics/filters/SourceGraphic.cpp:
342         * platform/graphics/filters/SourceGraphic.h:
343         * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
344         * platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp:
345         * platform/graphics/mac/IconMac.mm:
346         * platform/graphics/mac/ImageMac.mm:
347         * platform/graphics/opentype/OpenTypeUtilities.h:
348         * platform/graphics/openvg/PathOpenVG.cpp:
349         * platform/graphics/pango/FontPlatformDataPango.cpp:
350         * platform/graphics/qt/FontCacheQt.cpp:
351         * platform/graphics/qt/FontPlatformDataQt.cpp:
352         * platform/graphics/qt/IconQt.cpp:
353         * platform/graphics/qt/ImageQt.cpp:
354         * platform/graphics/qt/PathQt.cpp:
355         * platform/graphics/skia/FontCustomPlatformData.h:
356         * platform/graphics/skia/ImageSkia.cpp:
357         * platform/graphics/win/FontCustomPlatformData.h:
358         * platform/graphics/win/FontPlatformDataCGWin.cpp:
359         * platform/graphics/win/FontPlatformDataCairoWin.cpp:
360         * platform/graphics/win/FontPlatformDataWin.cpp:
361         * platform/graphics/win/IconWin.cpp:
362         * platform/graphics/win/ImageCGWin.cpp:
363         * platform/graphics/win/ImageCairoWin.cpp:
364         * platform/graphics/win/SimpleFontDataCGWin.cpp:
365         * platform/graphics/wince/FontCustomPlatformData.h:
366         * platform/graphics/wince/FontPlatformData.cpp:
367         * platform/graphics/wince/ImageWinCE.cpp:
368         * platform/graphics/wince/MediaPlayerProxy.cpp:
369         * platform/graphics/wince/PathWinCE.cpp:
370         * platform/graphics/wince/PlatformPathWinCE.cpp:
371         * platform/graphics/wx/FontCacheWx.cpp:
372         * platform/graphics/wx/FontPlatformDataWx.cpp:
373         * platform/graphics/wx/IconWx.cpp:
374         * platform/graphics/wx/PathWx.cpp:
375         * platform/gtk/ErrorsGtk.h:
376         * platform/gtk/FileSystemGtk.cpp:
377         * platform/gtk/GtkPopupMenu.h:
378         * platform/gtk/KeyBindingTranslator.h:
379         * platform/gtk/LanguageGtk.cpp:
380         * platform/gtk/LocalizedStringsGtk.cpp:
381         * platform/gtk/LoggingGtk.cpp:
382         * platform/gtk/PasteboardGtk.cpp:
383         * platform/image-decoders/ImageDecoder.h:
384         * platform/leveldb/LevelDBSlice.h:
385         * platform/mac/FileSystemMac.mm:
386         * platform/mediastream/MediaStreamSource.h:
387         * platform/mock/GeolocationClientMock.h:
388         * platform/network/BlobData.h:
389         * platform/network/BlobRegistryImpl.h:
390         * platform/network/BlobResourceHandle.h:
391         * platform/network/Credential.h:
392         * platform/network/FormData.h:
393         * platform/network/FormDataBuilder.h:
394         * platform/network/HTTPParsers.cpp:
395         * platform/network/HTTPRequest.h:
396         * platform/network/HTTPValidation.cpp:
397         * platform/network/ProtectionSpace.h:
398         * platform/network/ResourceErrorBase.h:
399         * platform/network/SocketStreamErrorBase.h:
400         * platform/network/blackberry/DNSBlackBerry.cpp:
401         * platform/network/blackberry/DeferredData.h:
402         * platform/network/blackberry/NetworkJob.h:
403         * platform/network/cf/CookieJarCFNet.cpp:
404         * platform/network/curl/CookieJarCurl.cpp:
405         * platform/network/curl/ResourceHandleManager.h:
406         * platform/network/qt/DnsPrefetchHelper.cpp:
407         * platform/network/soup/ResourceRequestSoup.cpp:
408         * platform/network/soup/ResourceResponseSoup.cpp:
409         * platform/network/win/CookieJarWin.cpp:
410         * platform/posix/FileSystemPOSIX.cpp:
411         * platform/qt/ClipboardQt.cpp:
412         * platform/qt/CookieJarQt.cpp:
413         * platform/qt/FileSystemQt.cpp:
414         * platform/qt/LanguageQt.cpp:
415         * platform/qt/LocalizedStringsQt.cpp:
416         * platform/qt/LoggingQt.cpp:
417         * platform/qt/PlatformSupport.h:
418         * platform/sql/SQLValue.h:
419         * platform/sql/SQLiteDatabase.h:
420         * platform/sql/SQLiteFileSystem.h:
421         * platform/text/DecodeEscapeSequences.h:
422         * platform/text/LineEnding.cpp:
423         * platform/text/ParserUtilities.h:
424         * platform/text/PlatformString.h: Removed.
425         * platform/text/RegularExpression.h:
426         * platform/text/SegmentedString.h:
427         * platform/text/StringWithDirection.h:
428         * platform/text/SuffixTree.h:
429         * platform/text/TextBreakIteratorICU.cpp:
430         * platform/text/TextCodec.cpp:
431         * platform/text/TextCodec.h:
432         * platform/text/TextCodecLatin1.cpp:
433         * platform/text/TextCodecUTF16.cpp:
434         * platform/text/TextCodecUserDefined.cpp:
435         * platform/text/TextEncoding.cpp:
436         * platform/text/blackberry/StringBlackBerry.cpp:
437         * platform/text/cf/StringCF.cpp:
438         * platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp:
439         * platform/text/gtk/TextCodecGtk.cpp:
440         * platform/text/mac/StringMac.mm:
441         * platform/text/mac/TextCodecMac.cpp:
442         * platform/text/qt/TextCodecQt.cpp:
443         * platform/text/win/TextCodecWin.h:
444         * platform/text/wince/TextBreakIteratorWinCE.cpp:
445         * platform/win/BString.cpp:
446         * platform/win/DragDataWin.cpp:
447         * platform/win/GDIObjectCounter.h:
448         * platform/win/LoggingWin.cpp:
449         * platform/win/WCDataObject.cpp:
450         * platform/wince/DragDataWinCE.cpp:
451         * platform/wx/ClipboardWx.cpp:
452         * platform/wx/FileSystemWx.cpp:
453         * platform/wx/LanguageWx.cpp:
454         * platform/wx/LocalizedStringsWx.cpp:
455         * platform/wx/LoggingWx.cpp:
456         * platform/wx/PasteboardWx.cpp:
457         * platform/wx/PopupMenuWx.cpp:
458         * plugins/PluginData.h:
459         * plugins/PluginDatabase.h:
460         * plugins/PluginDebug.cpp:
461         * plugins/PluginPackage.h:
462         * plugins/PluginStream.h:
463         * rendering/style/StyleDashboardRegion.h:
464         * storage/Storage.cpp:
465         * storage/StorageArea.h:
466         * storage/StorageEvent.h:
467         * storage/StorageEventDispatcher.h:
468         * storage/StorageMap.h:
469         * storage/StorageNamespace.h:
470         * storage/StorageNamespaceImpl.h:
471         * storage/StorageSyncManager.h:
472         * storage/StorageTask.h:
473         * storage/StorageTracker.h:
474         * svg/SVGPathByteStreamBuilder.h:
475         * svg/SVGPathParser.h:
476         * svg/SVGPathStringSource.h:
477         * svg/SVGStyledElement.cpp:
478         * svg/animation/SMILTimeContainer.h:
479         * svg/graphics/filters/SVGFilterBuilder.cpp:
480         * svg/graphics/filters/SVGFilterBuilder.h:
481         * testing/Internals.h:
482         * workers/DefaultSharedWorkerRepository.cpp:
483         * workers/WorkerLocation.cpp:
484         * workers/WorkerThread.cpp:
485         * xml/DOMParser.cpp:
486         * xml/NativeXPathNSResolver.cpp:
487         * xml/XMLSerializer.cpp:
488         * xml/XMLSerializer.h:
489         * xml/XPathExpression.cpp:
490         * xml/XPathValue.h:
491         * xml/XSLTUnicodeSort.cpp:
492
493 2012-09-06  Dana Jansens  <danakj@chromium.org>
494
495         [chromium] Add a customized copy() method to CCRenderPassDrawQuad
496         https://bugs.webkit.org/show_bug.cgi?id=95871
497
498         Reviewed by Adrienne Walker.
499
500         CCRenderPassDrawQuad is special because a copied quad will need to
501         point to a different RenderPass id, since new ids are given to copied
502         RenderPasses. Add a custom copy() method to CCRenderPassDrawQuad that
503         takes as input the new RenderPass id that should appear in the copied
504         quad.
505
506         Test: CCDrawQuad.copyRenderPassDrawQuad
507
508         * platform/graphics/chromium/cc/CCDrawQuad.cpp:
509         (WebCore::CCDrawQuad::copy):
510         * platform/graphics/chromium/cc/CCRenderPassDrawQuad.cpp:
511         (WebCore::CCRenderPassDrawQuad::copy):
512         (WebCore):
513         * platform/graphics/chromium/cc/CCRenderPassDrawQuad.h:
514         (CCRenderPassDrawQuad):
515
516 2012-09-06  Nikhil Bhargava  <nbhargava@google.com>
517
518         Remove extraneous includes (HTMLElement, SVGElement, GlyphBuffer, Clipboard)
519         https://bugs.webkit.org/show_bug.cgi?id=95780
520
521         Reviewed by Eric Seidel.
522
523         Removes extraneous includes of type HTMLElement, SVGElement, GlyphBuffer,
524         and Clipboard. There is a minor compile-time performance boost.
525
526         * Modules/mediastream/MediaStreamEvent.h:
527         * dom/Event.cpp:
528         * dom/Event.h:
529         (WebCore):
530         * dom/EventDispatchMediator.cpp:
531         * dom/EventListenerMap.cpp:
532         * dom/MouseRelatedEvent.h:
533         * dom/UIEvent.cpp:
534         * html/FormAssociatedElement.h:
535         (WebCore):
536         * inspector/TimelineRecordFactory.cpp:
537         * platform/graphics/FontPlatformData.h:
538         * rendering/RenderLineBoxList.h:
539         * rendering/style/RenderStyle.h:
540         (WebCore):
541         * svg/SVGAnimatedType.h:
542         * svg/SVGExternalResourcesRequired.cpp:
543         * svg/SVGExternalResourcesRequired.h:
544         (WebCore):
545         * svg/SVGURIReference.h:
546         (WebCore):
547
548 2012-09-06  Dan Bernstein  <mitz@apple.com>
549
550         REGRESSION(r127712): It broke http/tests/xmlhttprequest/basic-auth.html on JSC platforms
551         https://bugs.webkit.org/show_bug.cgi?id=95972
552
553         Reverted r127712, because it was based on the false premise that “[Optional] works the way
554         XMLHttpRequest expects”.
555
556         * bindings/js/JSXMLHttpRequestCustom.cpp:
557         (WebCore::JSXMLHttpRequest::open):
558         * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
559         (WebCore::V8XMLHttpRequest::openCallback):
560         (WebCore):
561         * xml/XMLHttpRequest.cpp:
562         (WebCore::XMLHttpRequest::open):
563         (WebCore):
564         * xml/XMLHttpRequest.h:
565         (XMLHttpRequest):
566         * xml/XMLHttpRequest.idl:
567
568 2012-09-06  Keishi Hattori  <keishi@webkit.org>
569
570         Use native function bind in page popups
571         https://bugs.webkit.org/show_bug.cgi?id=95976
572
573         Reviewed by Kent Tamura.
574
575         We should be using Function.prototype.bind instead of our own bind implementation.
576
577         No new tests. No behavior change.
578
579         * Resources/pagepopups/calendarPicker.js:
580         (CalendarPicker):
581         (CalendarPicker.prototype._layoutButtons):
582         (YearMonthController.prototype.attachTo):
583         (YearMonthController.prototype._attachLeftButtonsTo):
584         (YearMonthController.prototype._attachRightButtonsTo):
585         (DaysTable.prototype.attachTo):
586         * Resources/pagepopups/colorSuggestionPicker.js:
587         (ColorPicker):
588         (ColorPicker.prototype._layout):
589         * Resources/pagepopups/pickerCommon.js:
590
591 2012-09-06  Eugene Klyuchnikov  <eustas.bug@gmail.com>
592
593         Web Inspector: Timeline: cache "filteredRecords" for better scrolling performance.
594         https://bugs.webkit.org/show_bug.cgi?id=95731
595
596         Reviewed by Yury Semikhatsky.
597
598         Now scrolling is sluggish on large datasets.
599         Performance degrades, because each refresh causes DFS on all recorded items.
600         Solution: caching/invalidation of DFS (filtering) results.
601
602         Also fixed "truncate selected record range on mode change" glitch.
603
604         * inspector/front-end/TimelinePanel.js:
605         (WebInspector.TimelinePanel):
606         (WebInspector.TimelinePanel.prototype._scheduleRefresh):
607         Add flag for cache invalidation.
608         * inspector/front-end/TimelinePresentationModel.js:
609         (WebInspector.TimelinePresentationModel.prototype.invalidateFilteredRecords):
610         Added.
611         (WebInspector.TimelinePresentationModel.prototype.filteredRecords):
612         Caching/using cached results.
613
614 2012-09-06  Ilya Tikhonovsky  <loislo@chromium.org>
615
616         Web Inspector: NMI: switch to hierarchical identifiers of MemoryBlockTypes and use these identifiers in protocol.
617         https://bugs.webkit.org/show_bug.cgi?id=95957
618
619         Reviewed by Yury Semikhatsky.
620
621         Now when we use string identifiers as MemoryObjectType we can use them as the identifiers for the protocol
622         instead of MemoryBlockNames hardcoded in InspectorMemoryAgent..
623         At a later stage, when each type of memory will be counted in MemoryInstrumentation
624         we will build the blocks hierarchy for the front-end automatically.
625
626         * dom/MemoryInstrumentation.cpp:
627         (WebCore):
628         * dom/MemoryInstrumentation.h:
629         (GenericMemoryTypes):
630         (WebCore::MemoryInstrumentation::addRootObject):
631         (WebCore::MemoryObjectInfo::reportObjectInfo):
632         (WebCoreMemoryTypes):
633         * inspector/InspectorMemoryAgent.cpp:
634         (MemoryBlockName):
635         (WebCore):
636         * inspector/MemoryInstrumentationImpl.cpp:
637         (WebCore::MemoryInstrumentationImpl::countObjectSize):
638         * inspector/front-end/NativeMemorySnapshotView.js:
639         (WebInspector.MemoryBlockViewProperties._initialize):
640         * loader/cache/CachedRawResource.cpp:
641         (WebCore::CachedRawResource::reportMemoryUsage):
642         * loader/cache/CachedResource.cpp:
643         (WebCore::CachedResource::reportMemoryUsage):
644         * loader/cache/CachedResourceHandle.cpp:
645         (WebCore::CachedResourceHandleBase::reportMemoryUsage):
646         * platform/SharedBuffer.cpp:
647         (WebCore::SharedBuffer::reportMemoryUsage):
648
649 2012-09-06  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
650
651         CSS 3 'overflow-wrap' property implementation
652         https://bugs.webkit.org/show_bug.cgi?id=94475
653
654         Reviewed by Ojan Vafai.
655
656         Added 'overflow-wrap' property implementation according to
657         http://www.w3.org/TR/2012/WD-css3-text-20120814/#overflow-wrap.
658         The specification declares that 'word-wrap' as a shorthand
659         for the 'overflow-wrap' property. So what was basically done
660         is declaring of new 'overflow-wrap' property and renaming
661         of the internal data structures from 'WordWrap' to 'OverflowWrap'.
662         Both 'overflow-wrap' and 'word-wrap' properties share the same
663         handlers and thus have the same behaviour.
664
665         Test: fast/text/overflow-wrap.html
666
667         * WebCore.order: Rename exported setWordWrap to setOverflowWrap.
668         * css/CSSComputedStyleDeclaration.cpp:  Add CSSPropertyOverflowWrap to computedProperties.
669         (WebCore):
670         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
671         * css/CSSParser.cpp: Validation for the 'overflow-wrap' property.
672         (WebCore::isValidKeywordPropertyAndValue):
673         (WebCore::isKeywordPropertyID):
674         (WebCore::CSSParser::parseValue):
675         * css/CSSPrimitiveValueMappings.h:
676         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
677         (WebCore::CSSPrimitiveValue::operator EOverflowWrap):
678         * css/CSSProperty.cpp:
679         (WebCore::CSSProperty::isInheritedProperty): CSSPropertyOverflowWrap is inherited.
680         * css/CSSPropertyNames.in: Declare new 'overflow-wrap' property.
681         * css/StyleBuilder.cpp: Assign property handler (same as for 'word-wrap').
682         (WebCore::StyleBuilder::StyleBuilder):
683         * css/StyleResolver.cpp:
684         (WebCore::StyleResolver::collectMatchingRulesForList): Renaming.
685         * rendering/RenderTextControl.cpp: Ditto.
686         (WebCore::RenderTextControl::computeLogicalHeight):
687         * rendering/RenderTextControlSingleLine.cpp: Ditto.
688         (WebCore::RenderTextControlSingleLine::createInnerTextStyle):
689         * rendering/style/RenderStyle.cpp: Ditto.
690         (WebCore::RenderStyle::diff):
691         * rendering/style/RenderStyle.h: Ditto.
692         * rendering/style/RenderStyleConstants.h: Ditto.
693         * rendering/style/StyleRareInheritedData.cpp: Ditto.
694         (WebCore::StyleRareInheritedData::StyleRareInheritedData):
695         (WebCore::StyleRareInheritedData::operator==):
696         * rendering/style/StyleRareInheritedData.h: Ditto.
697         (StyleRareInheritedData):
698
699 2012-09-06  Arvid Nilsson  <anilsson@rim.com>
700
701         [BlackBerry] Always log shader compilation failure
702         https://bugs.webkit.org/show_bug.cgi?id=95948
703
704         Reviewed by George Staikos.
705
706         Also add shader source to the logs. In addition, don't bail on the
707         first failure, run through all shaders so we get a complete set of
708         logs.
709
710         No new tests: no change in functionality.
711
712         * platform/graphics/blackberry/LayerRenderer.cpp:
713         (WebCore::LayerRenderer::loadShader):
714         (WebCore::LayerRenderer::initializeSharedGLObjects):
715
716 2012-09-06  Patrick Gansterer  <paroga@webkit.org>
717
718         Remove String::operator+=() from windows platform code
719         https://bugs.webkit.org/show_bug.cgi?id=95904
720
721         Reviewed by Benjamin Poulain.
722
723         Use StringBuilder and operator+() to concatenate strings instead of operator+=().
724
725         * platform/win/ClipboardWin.cpp:
726         (WebCore::filesystemPathFromUrlOrTitle):
727
728 2012-09-06  Keishi Hattori  <keishi@webkit.org>
729
730         Refactor CalendarPicker to not use global variables.
731         https://bugs.webkit.org/show_bug.cgi?id=95830
732
733         Reviewed by Kent Tamura.
734
735         Introduce CalendarPicker so we can have multiple Pickers in one page
736         popup in the future.
737
738         No new tests. No behavior change.
739
740         * Resources/pagepopups/calendarPicker.js:
741         (initialize):
742         (resetMain):
743         (openCalendarPicker):
744         (CalendarPicker):
745         (CalendarPicker.prototype._layout):
746         (CalendarPicker.prototype.handleToday):
747         (CalendarPicker.prototype.handleClear):
748         (CalendarPicker.prototype.fixWindowSize):
749         (CalendarPicker.prototype._layoutButtons):
750         (YearMonthController):
751         (YearMonthController.prototype.attachTo):
752         (YearMonthController.prototype._redraw):
753         (YearMonthController.prototype._handleYearMonthChange):
754         (YearMonthController.prototype.moveRelatively):
755         (DaysTable):
756         (DaysTable.prototype.attachTo):
757         (CalendarPicker.prototype.stepMismatch):
758         (CalendarPicker.prototype.outOfRange):
759         (CalendarPicker.prototype.isValidDate):
760         (DaysTable.prototype._renderMonth):
761         (DaysTable.prototype._navigateToMonth):
762         (DaysTable.prototype._maybeSetPreviousMonth):
763         (DaysTable.prototype._maybeSetNextMonth):
764         (DaysTable.prototype._handleDayClick):
765         (DaysTable.prototype._handleKey):
766         (CalendarPicker.prototype._handleBodyKeyDown):
767         * Resources/pagepopups/colorSuggestionPicker.js:
768         (ColorPicker):
769         (ColorPicker.prototype._layout):
770         (ColorPicker.prototype._handleKeyDown):
771         (ColorPicker.prototype._handleSwatchClick):
772         * Resources/pagepopups/pickerCommon.js:
773         (Picker):
774         (Picker.prototype.submitValue):
775         (Picker.prototype.handleCancel):
776         (Picker.prototype.chooseOtherColor):
777
778 2012-09-06  Simon Hausmann  <simon.hausmann@nokia.com>
779
780         [Qt] Fix build with ANGLE on platforms that provide EGL/GLESv2
781         https://bugs.webkit.org/show_bug.cgi?id=95965
782
783         Reviewed by Tor Arne Vestbø.
784
785         Moved all ANGLE build rules from here to Source/Thirty/ANGLE and
786         instead depend on the new library with a simple WEBKIT += ANGLE.
787
788         * DerivedSources.pri:
789         * Target.pri:
790         * platform/graphics/ANGLEWebKitBridge.h: Simplify the include statement
791         for the internal shader compiler API, aligned with the other platforms.
792
793 2012-09-06  Kangil Han  <kangil.han@samsung.com>
794
795         [EFL] Keep placeholder text visible until first input from user.
796         https://bugs.webkit.org/show_bug.cgi?id=95851
797
798         Reviewed by Gyuyoung Kim.
799
800         Current specification, http://dev.w3.org/html5/spec/single-page.html#attr-input-placeholder, has allowed user agent to keep placeholder text until first input.
801         Therefore, this patch enabled it.
802
803         * platform/efl/RenderThemeEfl.h:
804         (WebCore::RenderThemeEfl::shouldShowPlaceholderWhenFocused):
805
806 2012-09-06  Elliott Sprehn  <esprehn@chromium.org>
807
808         Add new V8DependentRetained that allows keeping a v8::Object alive as long as another v8::Object is alive
809         https://bugs.webkit.org/show_bug.cgi?id=95519
810
811         Reviewed by Adam Barth.
812
813         Add new V8DependentRetained that allows keeping a v8::Object alive as long as another
814         v8::Object is alive. This is useful for keeping callbacks attached to wrappers without
815         keeping strong references to v8::Objects in the C++ side which can result in leaks
816         when cycles are created.
817
818         No new tests needed, this will be used to fix MutationObservers which will have tests.
819
820         * WebCore.gypi:
821         * bindings/v8/V8DependentRetained.h: Added.
822         (WebCore):
823         (V8DependentRetained):
824         (WebCore::V8DependentRetained::V8DependentRetained):
825         (WebCore::V8DependentRetained::~V8DependentRetained):
826         (WebCore::V8DependentRetained::get): Gets the v8::Object value.
827         (WebCore::V8DependentRetained::isEmpty): Checks if the value is still alive.
828         (WebCore::V8DependentRetained::createPropertyName):
829         (WebCore::V8DependentRetained::ownerWeakCallback): Clear the value when the owner is released.
830         (WebCore::V8DependentRetained::valueWeakCallback):
831         (WebCore::V8DependentRetained::release):
832         * bindings/v8/V8HiddenPropertyName.cpp:
833         (WebCore::V8HiddenPropertyName::hiddenReferenceName): Modified to allow creating hidden String or Symbol names.
834         * bindings/v8/V8HiddenPropertyName.h:
835         (V8HiddenPropertyName):
836         * bindings/v8/V8PerIsolateData.cpp:
837         (WebCore::V8PerIsolateData::V8PerIsolateData):
838         * bindings/v8/V8PerIsolateData.h:
839         (WebCore::V8PerIsolateData::nextDependentRetainedId): Returns the next available hidden property index.
840         (V8PerIsolateData):
841
842 2012-09-06  Otto Derek Cheung  <otcheung@rim.com>
843
844         [BlackBerry] Removing String operator += uses in Cookie Files
845         https://bugs.webkit.org/show_bug.cgi?id=95884
846
847         Reviewed by Rob Buis.
848
849         Replacing all usages of String operator +=  in the Cookie code because it is being deprecated.
850         String concats are now done using + or StringBuilder.
851
852         PR 203054
853
854         Tested using Browser Test Cookie suite on browsertest01.rim.net/networking/cookies.
855
856         * platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.cpp:
857         (WebCore::CookieDatabaseBackingStore::upgradeTableIfNeeded):
858         (WebCore::CookieDatabaseBackingStore::invokeOpen):
859         (WebCore::CookieDatabaseBackingStore::invokeRemoveAll):
860         * platform/blackberry/CookieManager.cpp:
861         (WebCore::CookieManager::getRawCookies):
862
863 2012-09-06  Dana Jansens  <danakj@chromium.org>
864
865         [chromium] Add a copy() method to CCRenderPass
866         https://bugs.webkit.org/show_bug.cgi?id=95485
867
868         Reviewed by Adrienne Walker.
869
870         This method allows the ubercomp layer to make a clone of its delegated
871         RenderPasses to insert into the current frame.
872
873         Tests: CCRenderPassTest.copyShouldBeIdenticalExceptIdAndQuads
874
875         * platform/graphics/chromium/cc/CCRenderPass.cpp:
876         (WebCore::CCRenderPass::copy):
877         (WebCore):
878         * platform/graphics/chromium/cc/CCRenderPass.h:
879         (CCRenderPass):
880
881 2012-09-06  Adam Barth  <abarth@chromium.org>
882
883         XMLHttpRequest.open does not need custom bindings
884         https://bugs.webkit.org/show_bug.cgi?id=95903
885
886         Reviewed by Kentaro Hara.
887
888         There doesn't appear to be any reason that XMLHttpRequest.open needs
889         custom bindings now that [Optional] works the way XMLHttpRequest
890         expects.
891
892         * bindings/js/JSXMLHttpRequestCustom.cpp:
893         (WebCore):
894         * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
895         * xml/XMLHttpRequest.cpp:
896         (WebCore::XMLHttpRequest::open):
897         (WebCore):
898         (WebCore::XMLHttpRequest::internalOpen):
899         * xml/XMLHttpRequest.h:
900         (XMLHttpRequest):
901         * xml/XMLHttpRequest.idl:
902
903 2012-09-06  Adam Barth  <abarth@chromium.org>
904
905         Three XSLTProcessor functions don't need to be [Custom]
906         https://bugs.webkit.org/show_bug.cgi?id=95899
907
908         Reviewed by Kentaro Hara.
909
910         These functions are marked [Custom] because they predate our
911         improvements to [Optional]. Now that we have
912         [Optional=DefaultIsUndefined], we can autogenerate these functions.
913
914         There is a (slight!) difference in behavior. Now, in the case of a type
915         error, we return null instead of undefined. This change is unlikely to
916         cause compatibility problems because the vast majority of folks will
917         pass the correct arguments, and, in the few cases where folks pass the
918         wrong argument types, null and undefined will likely work similarly
919         (e.g., they're both falsy and throw when you try to access properties).
920
921         * bindings/js/JSXSLTProcessorCustom.cpp:
922         * bindings/v8/custom/V8XSLTProcessorCustom.cpp:
923         * xml/XSLTProcessor.cpp:
924         (WebCore::XSLTProcessor::transformToDocument):
925         (WebCore::XSLTProcessor::transformToFragment):
926         * xml/XSLTProcessor.h:
927         (WebCore::XSLTProcessor::importStylesheet):
928         * xml/XSLTProcessor.idl:
929
930 2012-09-06  Patrick Gansterer  <paroga@webkit.org>
931
932         Remove String::operator+=() from plugin code
933         https://bugs.webkit.org/show_bug.cgi?id=95896
934
935         Reviewed by Adam Barth.
936
937         Use operator+() to concatenate strings instead of operator+=().
938
939         * plugins/PluginView.cpp:
940         (WebCore::parseRFC822HeaderFields):
941
942 2012-09-06  Patrick Gansterer  <paroga@webkit.org>
943
944         More fixes for String::operator+=() in Debug mode
945         https://bugs.webkit.org/show_bug.cgi?id=95888
946
947         Reviewed by Adam Barth.
948
949         Use StringBuilder to concatenate strings instead of operator+=().
950
951         * dom/Element.cpp:
952         (WebCore::Element::formatForDebugger):
953         * dom/Node.cpp:
954         (WebCore::appendAttributeDesc):
955         (WebCore::Node::showNode):
956         (WebCore::traverseTreeAndMark):
957         (WebCore::Node::formatForDebugger):
958         * dom/Position.cpp:
959         (WebCore::Position::formatForDebugger):
960         * dom/Range.cpp:
961         (WebCore):
962         (WebCore::Range::formatForDebugger):
963         * dom/Text.cpp:
964         (WebCore::Text::formatForDebugger):
965         * editing/VisibleSelection.cpp:
966         (WebCore::VisibleSelection::formatForDebugger):
967
968 2012-09-04  Vsevolod Vlasov  <vsevik@chromium.org>
969
970         Web Inspector: Fix inconsistencies in NetworkUISourceCodeProvider implementation.
971         https://bugs.webkit.org/show_bug.cgi?id=95752
972
973         Reviewed by Alexander Pavlov.
974
975         NetworkUISourceCodeProvider does not receive ResourceAdded event until resource is finished anymore.
976         StylesSourceMapping now listens for workspace event instead of being called directly by NetworkUISourceCodeProvider.
977         StylesSourceMapping is now created from inspector.js.
978         ProjectDidReset event introduced instead of setTimeout hacks in mappings.
979
980         * inspector/front-end/NetworkUISourceCodeProvider.js:
981         (WebInspector.NetworkUISourceCodeProvider):
982         (WebInspector.NetworkUISourceCodeProvider.prototype._resourceAdded):
983         (WebInspector.NetworkUISourceCodeProvider.prototype._projectWillReset):
984         (WebInspector.NetworkUISourceCodeProvider.prototype._projectDidReset):
985         * inspector/front-end/ResourceTreeModel.js:
986         (WebInspector.ResourceTreeModel):
987         (WebInspector.ResourceTreeModel.prototype._onRequestFinished):
988         * inspector/front-end/ScriptSnippetModel.js:
989         (WebInspector.ScriptSnippetModel):
990         (WebInspector.ScriptSnippetModel.prototype._projectWillReset):
991         (WebInspector.ScriptSnippetModel.prototype._projectDidReset):
992         * inspector/front-end/StylesSourceMapping.js:
993         (WebInspector.StylesSourceMapping):
994         (WebInspector.StylesSourceMapping.prototype._uiSourceCodeAddedToWorkspace):
995         (WebInspector.StylesSourceMapping.prototype._addUISourceCode):
996         (WebInspector.StylesSourceMapping.prototype._reset):
997         * inspector/front-end/Workspace.js:
998         (WebInspector.WorkspaceController.prototype._mainFrameNavigated):
999         (WebInspector.Project.prototype.reset):
1000         * inspector/front-end/inspector.js:
1001
1002 2012-09-06  Sheriff Bot  <webkit.review.bot@gmail.com>
1003
1004         Unreviewed, rolling out r127700.
1005         http://trac.webkit.org/changeset/127700
1006         https://bugs.webkit.org/show_bug.cgi?id=95941
1007
1008         Breaks inspector closure compilation, uses not defined
1009         variables. (Requested by vsevik on #webkit).
1010
1011         * dom/NamedFlowCollection.cpp:
1012         (WebCore::NamedFlowCollection::ensureFlowWithName):
1013         (WebCore::NamedFlowCollection::discardNamedFlow):
1014         * inspector/Inspector.json:
1015         * inspector/InspectorCSSAgent.cpp:
1016         (WebCore::InspectorCSSAgent::reset):
1017         (WebCore::InspectorCSSAgent::didCreateNamedFlow):
1018         (WebCore::InspectorCSSAgent::didRemoveNamedFlow):
1019         (WebCore::InspectorCSSAgent::getNamedFlowCollection):
1020         (WebCore::InspectorCSSAgent::getFlowByName):
1021         (WebCore):
1022         * inspector/InspectorCSSAgent.h:
1023         (WebCore):
1024         (InspectorCSSAgent):
1025         * inspector/InspectorInstrumentation.cpp:
1026         (WebCore):
1027         (WebCore::InspectorInstrumentation::didCreateNamedFlowImpl):
1028         (WebCore::InspectorInstrumentation::didRemoveNamedFlowImpl):
1029         * inspector/InspectorInstrumentation.h:
1030         (InspectorInstrumentation):
1031         (WebCore::InspectorInstrumentation::didCreateNamedFlow):
1032         (WebCore::InspectorInstrumentation::didRemoveNamedFlow):
1033         * inspector/front-end/CSSStyleModel.js:
1034         (WebInspector.CSSStyleModel):
1035         (WebInspector.CSSStyleModel.prototype.getNamedFlowCollectionAsync):
1036         (WebInspector.CSSStyleModel.prototype.getFlowByNameAsync):
1037         (WebInspector.CSSStyleModel.prototype._namedFlowCreated.callback):
1038         (WebInspector.CSSStyleModel.prototype._namedFlowCreated):
1039         (WebInspector.CSSStyleModel.prototype._namedFlowRemoved.callback):
1040         (WebInspector.CSSStyleModel.prototype._namedFlowRemoved):
1041         (WebInspector.CSSDispatcher.prototype.namedFlowCreated):
1042         (WebInspector.CSSDispatcher.prototype.namedFlowRemoved):
1043         (WebInspector.NamedFlow):
1044         (WebInspector.NamedFlow.parsePayloadArray):
1045         * rendering/RenderNamedFlowThread.cpp:
1046         (WebCore::RenderNamedFlowThread::dispatchRegionLayoutUpdateEvent):
1047
1048 2012-09-06  Adam Barth  <abarth@chromium.org>
1049
1050         [V8] V8HTMLDocument has two out-of-style function names
1051         https://bugs.webkit.org/show_bug.cgi?id=95893
1052
1053         Reviewed by Kentaro Hara.
1054
1055         Just a simple style cleanup.
1056
1057         * bindings/scripts/CodeGeneratorV8.pm:
1058         (GenerateHeader):
1059         * bindings/v8/V8DOMWindowShell.cpp:
1060         (WebCore::getter):
1061         * bindings/v8/V8DOMWrapper.cpp:
1062         (WebCore::V8DOMWrapper::instantiateV8Object):
1063         * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
1064         (WebCore::V8HTMLDocument::wrapInShadowObject):
1065         (WebCore::V8HTMLDocument::getNamedProperty):
1066
1067 2012-09-05  Andrei Poenaru  <poenaru@adobe.com>
1068
1069         Web Inspector: Protocol Extension: Add "regionLayoutUpdate" event
1070         https://bugs.webkit.org/show_bug.cgi?id=93443
1071
1072         Reviewed by Alexander Pavlov.
1073
1074         Added "regionLayoutUpdate" event to the protocol.
1075
1076         Removed "getFlowByName" from protocol.
1077
1078         The front-end keeps in sync the requested Named Flow Collections.
1079
1080         Modified existing test: inspector/styles/protocol-css-regions-commands.html
1081
1082         * dom/NamedFlowCollection.cpp:
1083         (WebCore::NamedFlowCollection::ensureFlowWithName):
1084         (WebCore::NamedFlowCollection::discardNamedFlow):
1085         * inspector/Inspector.json:
1086         * inspector/InspectorCSSAgent.cpp:
1087         (UpdateRegionLayoutTask):
1088         (WebCore::UpdateRegionLayoutTask::reset):
1089         (WebCore):
1090         (WebCore::UpdateRegionLayoutTask::UpdateRegionLayoutTask):
1091         (WebCore::UpdateRegionLayoutTask::scheduleFor):
1092         (WebCore::UpdateRegionLayoutTask::onTimer):
1093         (WebCore::InspectorCSSAgent::reset):
1094         (WebCore::InspectorCSSAgent::didCreateNamedFlow):
1095         (WebCore::InspectorCSSAgent::willRemoveNamedFlow):
1096         (WebCore::InspectorCSSAgent::didUpdateRegionLayout):
1097         (WebCore::InspectorCSSAgent::regionLayoutUpdated):
1098         (WebCore::InspectorCSSAgent::getNamedFlowCollection):
1099         (WebCore::InspectorCSSAgent::documentNodeWithRequestedFlowsId):
1100         * inspector/InspectorCSSAgent.h:
1101         (WebCore):
1102         (InspectorCSSAgent):
1103         * inspector/InspectorInstrumentation.cpp:
1104         (WebCore):
1105         (WebCore::InspectorInstrumentation::didCreateNamedFlowImpl):
1106         (WebCore::InspectorInstrumentation::willRemoveNamedFlowImpl):
1107         (WebCore::InspectorInstrumentation::didUpdateRegionLayoutImpl):
1108         * inspector/InspectorInstrumentation.h:
1109         (InspectorInstrumentation):
1110         (WebCore::InspectorInstrumentation::didCreateNamedFlow):
1111         (WebCore::InspectorInstrumentation::willRemoveNamedFlow):
1112         (WebCore):
1113         (WebCore::InspectorInstrumentation::didUpdateRegionLayout):
1114         * inspector/front-end/CSSStyleModel.js:
1115         (WebInspector.CSSStyleModel):
1116         (WebInspector.CSSStyleModel.prototype.getNamedFlowCollectionAsync.callback):
1117         (WebInspector.CSSStyleModel.prototype.getNamedFlowCollectionAsync):
1118         (WebInspector.CSSStyleModel.prototype.getFlowByNameAsync.callback):
1119         (WebInspector.CSSStyleModel.prototype.getFlowByNameAsync):
1120         (WebInspector.CSSStyleModel.prototype._namedFlowCreated):
1121         (WebInspector.CSSStyleModel.prototype._namedFlowRemoved):
1122         (WebInspector.CSSStyleModel.prototype._regionLayoutUpdated):
1123         (WebInspector.CSSStyleModel.prototype._resetNamedFlowCollections):
1124         (WebInspector.CSSDispatcher.prototype.namedFlowCreated):
1125         (WebInspector.CSSDispatcher.prototype.namedFlowRemoved):
1126         (WebInspector.CSSDispatcher.prototype.regionLayoutUpdated):
1127         (WebInspector.NamedFlow):
1128         (WebInspector.NamedFlowCollection):
1129         (WebInspector.NamedFlowCollection.prototype.appendNamedFlow):
1130         (WebInspector.NamedFlowCollection.prototype.removeNamedFlow):
1131         (WebInspector.NamedFlowCollection.prototype.flowByName):
1132         * rendering/RenderNamedFlowThread.cpp:
1133         (WebCore::RenderNamedFlowThread::dispatchRegionLayoutUpdateEvent):
1134
1135 2012-09-05  Dana Jansens  <danakj@chromium.org>
1136
1137         [chromium] Add a copy() method to CCDrawQuad and CCSharedQuadState
1138         https://bugs.webkit.org/show_bug.cgi?id=95374
1139
1140         Reviewed by Adrienne Walker.
1141
1142         The ubercomp layer will hold a RenderPass full of DrawQuads, and needs
1143         to add quads to the current frame in appendQuads(). It will do this by
1144         copying the quads it has in its RenderPass into the frame's RenderPass.
1145
1146         These methods allows it to make a clone of its quads.
1147
1148         Test: CCDrawQuadTest.copySharedQuadState
1149               CCDrawQuadTest.copyCheckerboardDrawQuad
1150               CCDrawQuadTest.copyDebugBorderDrawQuad
1151               CCDrawQuadTest.copyIOSurfaceDrawQuad
1152               CCDrawQuadTest.copyRenderPassDrawQuad
1153               CCDrawQuadTest.copySolidColorDrawQuad
1154               CCDrawQuadTest.copyStreamVideoDrawQuad
1155               CCDrawQuadTest.copyTextureDrawQuad
1156               CCDrawQuadTest.copyTileDrawQuadcopy
1157               CCDrawQuadTest.copyYUVVideoDrawQuad
1158
1159         * platform/graphics/chromium/cc/CCDrawQuad.cpp:
1160         (WebCore::CCDrawQuad::copy):
1161         (WebCore):
1162         * platform/graphics/chromium/cc/CCDrawQuad.h:
1163         (CCDrawQuad):
1164         * platform/graphics/chromium/cc/CCSharedQuadState.cpp:
1165         (WebCore::CCSharedQuadState::copy):
1166         (WebCore):
1167         * platform/graphics/chromium/cc/CCSharedQuadState.h:
1168         (CCSharedQuadState):
1169
1170 2012-09-05  Tim Horton  <timothy_horton@apple.com>
1171
1172         Unreviewed; revert a change to ScrollingTreeNodeMac which accidentally
1173         slipped into http://trac.webkit.org/changeset/127474.
1174
1175         This change will be properly landed shortly as part of
1176         https://bugs.webkit.org/show_bug.cgi?id=93898.
1177
1178         * page/scrolling/mac/ScrollingTreeNodeMac.mm:
1179         (WebCore::ScrollingTreeNodeMac::update):
1180
1181 2012-09-05  Nate Chapin  <japhet@chromium.org>
1182
1183         Remove duplicate error() impls in CachedResource subclasses
1184         https://bugs.webkit.org/show_bug.cgi?id=81161
1185
1186         Reviewed by Antti Koivisto.
1187
1188         No new tests, refactor only.
1189
1190         * loader/cache/CachedCSSStyleSheet.cpp:
1191         * loader/cache/CachedCSSStyleSheet.h:
1192         * loader/cache/CachedFont.cpp:
1193         * loader/cache/CachedFont.h:
1194         * loader/cache/CachedImage.cpp:
1195         * loader/cache/CachedResource.h: Make checkNotify()
1196              virtual, so the right checkNotify() gets called in error().
1197         * loader/cache/CachedScript.cpp:
1198         * loader/cache/CachedScript.h:
1199         * loader/cache/CachedXSLStyleSheet.cpp:
1200         * loader/cache/CachedXSLStyleSheet.h:
1201
1202 2012-09-05  James Robinson  <jamesr@chromium.org>
1203
1204         Unreviewed chromium windows build fix.
1205
1206         Some of the rules in webcore_remaining only apply to files under WebCore/platform/. Since r127687 moved all such
1207         files from the webcore_files variable to webcore_platform_files, these rules have to be applied to
1208         webcore_platform instead. This also means that these files link into webcore_platform instead of
1209         webcore_remaining, which makes a lot more sense, and we can delete several redundant rules.
1210
1211         * WebCore.gyp/WebCore.gyp:
1212
1213 2012-09-05  Nate Chapin  <japhet@chromium.org>
1214
1215         [chromium] Some SubstituteData loads broken after r121912
1216         https://bugs.webkit.org/show_bug.cgi?id=91685
1217
1218         Reviewed by Adam Barth.
1219
1220         Test: WebFrameTest.ReplaceNavigationAfterHistoryNavigation in chromium's webkit_unit_tests.
1221
1222         * loader/DocumentLoader.cpp:
1223         (WebCore::DocumentLoader::commitData): receivedFirstData() should be called exactly once per load,
1224             on the first commit. I had mistakely assumed in r121912 that isReplacing() was true only for multipart
1225             loads, and only after the first commit (chromium uses it for some SubstituteData loads to ensure the error page
1226             replaces the failed load). We need to check whether we are loading multipart content before assuming isReplacing()
1227             will tell us what we need to know.
1228
1229 2012-09-05  James Robinson  <jamesr@chromium.org>
1230
1231         [chromium] Put webcore_platform_files in separate gyp target instead of relying on exclusion patterns
1232         https://bugs.webkit.org/show_bug.cgi?id=95876
1233
1234         Reviewed by Tony Chang.
1235
1236         This puts the list of WebCore/platform files in a webcore_platform_files gyp variable instead of filtering by
1237         path out of webcore_files. This simplifies the .gyp a bit and makes it possible to split this target up further.
1238
1239         * WebCore.gyp/WebCore.gyp:
1240         * WebCore.gypi:
1241
1242 2012-09-05  Joshua Bell  <jsbell@chromium.org>
1243
1244         IndexedDB: Large integer versions not persisted correctly
1245         https://bugs.webkit.org/show_bug.cgi?id=95873
1246
1247         Reviewed by Tony Chang.
1248
1249         Correctly encode AND decode integer versions numbers as VarInts.
1250
1251         Test: storage/indexeddb/intversion-encoding.html
1252
1253         * Modules/indexeddb/IDBLevelDBBackingStore.cpp:
1254         (WebCore::getVarInt):
1255         (WebCore):
1256         (WebCore::IDBLevelDBBackingStore::getIDBDatabaseMetaData):
1257
1258 2012-09-05  Sheriff Bot  <webkit.review.bot@gmail.com>
1259
1260         Unreviewed, rolling out r127596.
1261         http://trac.webkit.org/changeset/127596
1262         https://bugs.webkit.org/show_bug.cgi?id=95928
1263
1264         newly added tests are failing (Requested by bashi1 on
1265         #webkit).
1266
1267         * rendering/RenderBox.cpp:
1268         (WebCore::RenderBox::computePositionedLogicalWidth):
1269         * rendering/RenderRegion.cpp:
1270         * rendering/RenderRegion.h:
1271         (RenderRegion):
1272
1273 2012-09-05  Arnaud Renevier  <a.renevier@sisa.samsung.com>
1274
1275         Build failure with accelerated compositing disabled
1276         https://bugs.webkit.org/show_bug.cgi?id=95872
1277
1278         Reviewed by James Robinson.
1279
1280         Define DrawingBuffer::markContextChanged even when accelerated
1281         compositing is not used.
1282
1283         No functional change, so no new tests.
1284
1285         * platform/graphics/gpu/DrawingBuffer.h:
1286         (WebCore::DrawingBuffer::markContentsChanged):
1287         (DrawingBuffer):
1288
1289 2012-09-05  Michelangelo De Simone  <michelangelo@webkit.org>
1290
1291         Parse the array() function for custom filters
1292         https://bugs.webkit.org/show_bug.cgi?id=94226
1293
1294         Reviewed by Dirk Schulze.
1295
1296         The patch adds the support for the array() function parsing;
1297         according to the specs this function - to be used within custom
1298         filters - accepts number (float) values. This patch parses array()
1299         arguments using comma as separator: the spec will be updated
1300         accordingly shortly.
1301
1302         * GNUmakefile.list.am:
1303         * Target.pri:
1304         * WebCore.gypi:
1305         * WebCore.vcproj/WebCore.vcproj:
1306         * WebCore.xcodeproj/project.pbxproj:
1307         * css/CSSParser.cpp:
1308         (WebCore::CSSParser::parseCustomFilterArrayFunction): New method to
1309         parse the content of array() function.
1310         (WebCore):
1311         (WebCore::CSSParser::parseCustomFilter): parseCustomFilterArrayFunction is
1312         called whenever a "array(" function is encountered.
1313         * css/CSSParser.h:
1314         (WebCore):
1315         * css/CSSValue.cpp:
1316         (WebCore::CSSValue::reportMemoryUsage):
1317         (WebCore::CSSValue::cssText):
1318         (WebCore::CSSValue::destroy):
1319         (WebCore::CSSValue::cloneForCSSOM):
1320         * css/CSSValue.h:
1321         (WebCore::CSSValue::isWebKitCSSArrayFunctionValue):
1322         * css/WebKitCSSArrayFunctionValue.cpp: Added.
1323         (WebCore):
1324         (WebCore::WebKitCSSArrayFunctionValue::WebKitCSSArrayFunctionValue):
1325         (WebCore::WebKitCSSArrayFunctionValue::customCssText):
1326         (WebCore::WebKitCSSArrayFunctionValue::cloneForCSSOM):
1327         (WebCore::WebKitCSSArrayFunctionValue::reportDescendantMemoryUsage):
1328         * css/WebKitCSSArrayFunctionValue.h: Added.
1329         (WebCore):
1330         (WebKitCSSArrayFunctionValue):
1331         (WebCore::WebKitCSSArrayFunctionValue::create):
1332
1333 2012-09-05  Matt Falkenhagen  <falken@chromium.org>
1334
1335         Vertically center non-anchored <dialog> elements
1336         https://bugs.webkit.org/show_bug.cgi?id=90670
1337
1338         Reviewed by Ojan Vafai.
1339
1340         This adjusts the static default position of non-anchored
1341         dialog elements so they are vertically centered in or at the top of
1342         the viewport, as per the spec.
1343
1344         The approach is to add a RenderDialog class whose layout()
1345         function adjusts the position after normal RenderBlock::layout runs.
1346
1347         Test: fast/dom/HTMLDialogElement/non-anchored-dialog-positioning.html
1348
1349         * CMakeLists.txt:
1350         * GNUmakefile.list.am:
1351         * Target.pri:
1352         * WebCore.gypi:
1353         * WebCore.xcodeproj/project.pbxproj:
1354         * html/HTMLDialogElement.cpp:
1355         (WebCore::HTMLDialogElement::createRenderer):
1356         (WebCore):
1357         * html/HTMLDialogElement.h:
1358         (HTMLDialogElement):
1359         * rendering/RenderBox.cpp:
1360         (WebCore::RenderBox::mapAbsoluteToLocalPoint): Remove assertion since now absoluteToLocal is called during layout.
1361         * rendering/RenderBoxModelObject.cpp:
1362         (WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint): Ditto.
1363         * rendering/RenderDialog.cpp: Added.
1364         (WebCore):
1365         (WebCore::RenderDialog::layout): Compute the desired top position in the absolute coordinate system, and then set top to the
1366         corresponding local coordinate.
1367         * rendering/RenderDialog.h: Added.
1368         (WebCore):
1369         (RenderDialog):
1370         (WebCore::RenderDialog::RenderDialog):
1371         (WebCore::RenderDialog::~RenderDialog):
1372         (WebCore::RenderDialog::renderName):
1373         * rendering/RenderObject.h:
1374         (RenderObject):
1375         (WebCore::RenderObject::isDialog):
1376         * rendering/RenderingAllInOne.cpp:
1377
1378 2012-09-05  Kenichi Ishibashi  <bashi@chromium.org>
1379
1380         Unreviewed, rolling out r127612, r127660, and r127664.
1381         http://trac.webkit.org/changeset/127612
1382         http://trac.webkit.org/changeset/127660
1383         http://trac.webkit.org/changeset/127664
1384         https://bugs.webkit.org/show_bug.cgi?id=95920
1385
1386         * CMakeLists.txt:
1387         * GNUmakefile.list.am:
1388         * Modules/mediastream/RTCErrorCallback.h:
1389         (WebCore):
1390         (RTCErrorCallback):
1391         * Modules/mediastream/RTCErrorCallback.idl:
1392         * Modules/mediastream/RTCPeerConnection.cpp:
1393         (WebCore::RTCPeerConnection::createOffer):
1394         * Modules/mediastream/RTCPeerConnection.h:
1395         (WebCore):
1396         (RTCPeerConnection):
1397         * Modules/mediastream/RTCPeerConnection.idl:
1398         * Modules/mediastream/RTCSessionDescriptionCallback.h:
1399         (WebCore):
1400         (RTCSessionDescriptionCallback):
1401         * Modules/mediastream/RTCSessionDescriptionCallback.idl:
1402         * Modules/mediastream/RTCSessionDescriptionRequestImpl.cpp:
1403         (WebCore::RTCSessionDescriptionRequestImpl::create):
1404         (WebCore::RTCSessionDescriptionRequestImpl::RTCSessionDescriptionRequestImpl):
1405         (WebCore::RTCSessionDescriptionRequestImpl::requestSucceeded):
1406         (WebCore::RTCSessionDescriptionRequestImpl::requestFailed):
1407         (WebCore::RTCSessionDescriptionRequestImpl::clear):
1408         * Modules/mediastream/RTCSessionDescriptionRequestImpl.h:
1409         (RTCSessionDescriptionRequestImpl):
1410         * Modules/mediastream/RTCVoidRequestImpl.cpp: Removed.
1411         * Modules/mediastream/RTCVoidRequestImpl.h: Removed.
1412         * WebCore.gypi:
1413         * platform/chromium/support/WebRTCVoidRequest.cpp: Removed.
1414         * platform/mediastream/RTCPeerConnectionHandler.cpp:
1415         (RTCPeerConnectionHandlerDummy):
1416         (WebCore::RTCPeerConnectionHandlerDummy::RTCPeerConnectionHandlerDummy):
1417         * platform/mediastream/RTCPeerConnectionHandler.h:
1418         (WebCore):
1419         (WebCore::RTCPeerConnectionHandler::~RTCPeerConnectionHandler):
1420         (RTCPeerConnectionHandler):
1421         (WebCore::RTCPeerConnectionHandler::RTCPeerConnectionHandler):
1422         * platform/mediastream/RTCVoidRequest.h: Removed.
1423         * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
1424         * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
1425         (RTCPeerConnectionHandlerChromium):
1426
1427 2012-09-05  Victoria Kirst  <vrk@chromium.org>
1428
1429         Add the duration attribute to MediaSource
1430         https://bugs.webkit.org/show_bug.cgi?id=95149
1431
1432         Reviewed by Eric Carlson.
1433
1434         Add support for the duration attribute recently added to the MediaSource spec.
1435         http://dev.w3.org/html5/spec/media-elements.html#dom-media-duration
1436
1437         Test: http/tests/media/media-source/video-media-source-duration-changed.html
1438
1439         * Modules/mediasource/MediaSource.cpp:
1440         (WebCore::MediaSource::duration): Added duration method.
1441         (WebCore):
1442         (WebCore::MediaSource::setDuration): Added duration setter.
1443         * Modules/mediasource/MediaSource.h:
1444         (MediaSource):
1445         * Modules/mediasource/MediaSource.idl:
1446         * platform/graphics/MediaPlayer.cpp:
1447         (WebCore::NullMediaPlayerPrivate::sourceSetDuration): Add empty definition.
1448         (WebCore::MediaPlayer::sourceSetDuration): Forward call to m_private.
1449         (WebCore):
1450         * platform/graphics/MediaPlayer.h:
1451         * platform/graphics/MediaPlayerPrivate.h:
1452         (WebCore::MediaPlayerPrivateInterface::sourceSetDuration): Add empty definition.
1453
1454 2012-09-05  Mihai Parparita  <mihaip@chromium.org>
1455
1456         [Chromium] history.{push,replace}State should no longer be V8EnabledAtRuntime
1457         https://bugs.webkit.org/show_bug.cgi?id=95865
1458
1459         Reviewed by Darin Fisher.
1460
1461         r55549 made them be runtime-enabled (since the Chromium implementation
1462         was not complete at the time), but they've been enabled by default
1463         since http://crrev.com/41850
1464
1465         * bindings/generic/RuntimeEnabledFeatures.cpp:
1466         (WebCore):
1467         * bindings/generic/RuntimeEnabledFeatures.h:
1468         (RuntimeEnabledFeatures):
1469         * page/History.idl:
1470
1471 2012-09-05  Joshua Bell  <jsbell@chromium.org>
1472
1473         IndexedDB: Integer version lost after first open/close/open cycle
1474         https://bugs.webkit.org/show_bug.cgi?id=95864
1475
1476         Reviewed by Tony Chang.
1477
1478         New backing stores were being created with an old schema version, causing migration
1479         to occur when the backing store was re-opened, which would overwrite valid integer
1480         version metadata. New backing stores should be created with the latest schema version
1481         since no migration is desired.
1482
1483         Test: storage/indexeddb/intversion-persistence.html
1484
1485         * Modules/indexeddb/IDBLevelDBBackingStore.cpp:
1486         (WebCore::setUpMetadata):
1487
1488 2012-09-05  Kenichi Ishibashi  <bashi@chromium.org>
1489
1490         [Chromium] Unreviewed, build fix attempt after r127660
1491
1492         Make clang happy.
1493
1494         * platform/mediastream/RTCPeerConnectionHandler.cpp:
1495         (WebCore::RTCPeerConnectionHandlerDummy::RTCPeerConnectionHandlerDummy):
1496         Use ASSERT_UNUSED() to suppress -Wunused-private-field warning
1497
1498 2012-09-05  Patrick Gansterer  <paroga@webkit.org>
1499
1500         Build fix for Windows.
1501
1502         * rendering/RenderThemeWin.cpp: Added missing header include.
1503
1504 2012-09-05  Kenichi Ishibashi  <bashi@chromium.org>
1505
1506         [Chromium] Unreviewed, build fix attempt on win
1507
1508         r127612 breaks chromium win build.
1509
1510         * WebCore.gypi:
1511         * platform/mediastream/RTCPeerConnectionHandler.cpp:
1512         (WebCore::RTCPeerConnectionHandler::RTCPeerConnectionHandler):
1513         (WebCore):
1514         (WebCore::RTCPeerConnectionHandler::~RTCPeerConnectionHandler):
1515         * platform/mediastream/RTCPeerConnectionHandler.h:
1516         (RTCPeerConnectionHandler):
1517
1518 2012-09-05  Christophe Dumez  <christophe.dumez@intel.com>
1519
1520         [EFL][WK2] Provide implementation for WebProcess functions
1521         https://bugs.webkit.org/show_bug.cgi?id=95857
1522
1523         Reviewed by Kenneth Rohde Christiansen.
1524
1525         Add implementation for getVolumeFreeSizeForPath()
1526         in FileSystem which is required by soup-related
1527         code in WebKit2.
1528
1529         No new tests, no behavior change.
1530
1531         * platform/FileSystem.h:
1532         (WebCore):
1533         * platform/efl/FileSystemEfl.cpp:
1534         (WebCore::getVolumeFreeSizeForPath):
1535         (WebCore):
1536
1537 2012-09-05  Sheriff Bot  <webkit.review.bot@gmail.com>
1538
1539         Unreviewed, rolling out r127635.
1540         http://trac.webkit.org/changeset/127635
1541         https://bugs.webkit.org/show_bug.cgi?id=95905
1542
1543         breaks chromium win and mac build (Requested by bashi1 on
1544         #webkit).
1545
1546         * WebCore.gyp/WebCore.gyp:
1547         * WebCore.gypi:
1548
1549 2012-09-05  Bruno de Oliveira Abinader  <bruno.abinader@basyskom.com>
1550
1551         Make RenderStyle::colorIncludingFallback use private getters
1552         https://bugs.webkit.org/show_bug.cgi?id=95863
1553
1554         Reviewed by Eric Seidel.
1555
1556         For readibility and maintanability reasons, it is better to use getters for
1557         visited* color variables than accessing them directly.
1558
1559         * rendering/style/RenderStyle.cpp:
1560         (WebCore::RenderStyle::colorIncludingFallback):
1561
1562 2012-09-05  Benjamin Poulain  <bpoulain@apple.com>
1563
1564         More fixes for String::operator+=() on Mac
1565         https://bugs.webkit.org/show_bug.cgi?id=95880
1566
1567         Reviewed by Adam Barth.
1568
1569         Followup for r127574, I forgot some use of strings.
1570
1571         * css/StylePropertySet.cpp:
1572         (WebCore::StylePropertySet::getShorthandValue): Use String builder to construct the shorthand.
1573
1574 2012-09-05  James Robinson  <jamesr@chromium.org>
1575
1576         [chromium] Put webcore_platform_files in separate gyp target instead of relying on exclusion patterns
1577         https://bugs.webkit.org/show_bug.cgi?id=95876
1578
1579         Reviewed by Tony Chang.
1580
1581         This puts the list of WebCore/platform files in a webcore_platform_files gyp variable instead of filtering by
1582         path out of webcore_files. This simplifies the .gyp a bit and makes it possible to split this target up further.
1583
1584         * WebCore.gyp/WebCore.gyp:
1585         * WebCore.gypi:
1586
1587 2012-09-05  James Robinson  <jamesr@chromium.org>
1588
1589         Unreviewed, rolling out r127629.
1590         http://trac.webkit.org/changeset/127629
1591         https://bugs.webkit.org/show_bug.cgi?id=95876
1592
1593         Broke build
1594
1595         * WebCore.gyp/WebCore.gyp:
1596         * WebCore.gypi:
1597
1598 2012-09-05  James Robinson  <jamesr@chromium.org>
1599
1600         [chromium] Put webcore_platform_files in separate gyp target instead of relying on exclusion patterns
1601         https://bugs.webkit.org/show_bug.cgi?id=95876
1602
1603         Reviewed by Tony Chang.
1604
1605         This puts the list of WebCore/platform files in a webcore_platform_files gyp variable instead of filtering by
1606         path out of webcore_files. This simplifies the .gyp a bit and makes it possible to split this target up further.
1607
1608         * WebCore.gyp/WebCore.gyp:
1609         * WebCore.gypi:
1610
1611 2012-09-05  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1612
1613         [EFL] Slider progress bar goes crazy with negative ranges
1614         https://bugs.webkit.org/show_bug.cgi?id=95753
1615
1616         Reviewed by Kenneth Rohde Christiansen.
1617
1618         Now the calculation of what the current value represents in terms
1619         of progress (from 0 to 1) is correctly done.
1620
1621         Test: fast/forms/range/input-range-progress-indicator.html
1622
1623         * platform/efl/RenderThemeEfl.cpp:
1624         (WebCore::RenderThemeEfl::paintThemePart):
1625
1626 2012-09-05  Mark Pilgrim  <pilgrim@chromium.org>
1627
1628         [Chromium] Remove getRenderStyleForStrike from PlatformSupport
1629         https://bugs.webkit.org/show_bug.cgi?id=95363
1630
1631         Reviewed by Adam Barth.
1632
1633         Part of a refactoring series. See tracking bug 82948.
1634
1635         * platform/chromium/PlatformSupport.h:
1636         (PlatformSupport):
1637         * platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp:
1638         (WebCore::FontPlatformData::operator==):
1639         (WebCore::FontPlatformData::getRenderStyleForStrike):
1640         (WebCore):
1641         (WebCore::FontPlatformData::querySystemForRenderStyle):
1642         * platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.h:
1643         (FontPlatformData):
1644
1645 2012-09-05  Sami Kyostila  <skyostil@google.com>
1646
1647         Enable/disable composited scrolling based on overflow
1648         https://bugs.webkit.org/show_bug.cgi?id=95323
1649
1650         Reviewed by Simon Fraser.
1651
1652         When an overflow:{auto,overlay} and -webkit-overflow-scrolling:touch
1653         element gains or loses overflow, we should correspondingly enable and
1654         disable composited scrolling depending on whether the element can be
1655         scrolled or not.
1656
1657         The previous logic in RenderLayer::usesCompositedScrolling() already
1658         checked for actual overflow, but we also need to recompute the
1659         compositing requirements when the amount of overflow changes during
1660         layout. Additionally, layers using composited scrolling are marked as
1661         self-painting to ensure they are always promoted to composited layers
1662         when needed.
1663
1664         Test: compositing/overflow/overflow-auto-with-touch-toggle.html
1665
1666         Note that the behavior for maintaining a stacking context even without
1667         the presense of overflow is covered by platform/chromium/compositing/overflow/overflow-scrolling-touch-stacking-context.html.
1668
1669         * rendering/RenderLayer.cpp:
1670         (WebCore::RenderLayer::updateScrollInfoAfterLayout):
1671         (WebCore::RenderLayer::shouldBeSelfPaintingLayer):
1672
1673 2012-09-05  Mike Fenton  <mifenton@rim.com>
1674
1675         [BlackBerry] PlatformKeyboardEvent::getCurrentModifierState should initialize values.
1676         https://bugs.webkit.org/show_bug.cgi?id=95773
1677
1678         Reviewed by Rob Buis.
1679
1680         Properly initialize the passed variables even
1681         though we haven't implemented the modifier state
1682         to ensure the values are deterministic.
1683
1684         * platform/blackberry/PlatformKeyboardEventBlackBerry.cpp:
1685         (WebCore::PlatformKeyboardEvent::getCurrentModifierState):
1686
1687 2012-09-05  Tommy Widenflycht  <tommyw@google.com>
1688
1689         MediaStream API: Add the local and remote description functionality to RTCPeerConnection
1690         https://bugs.webkit.org/show_bug.cgi?id=95839
1691
1692         Reviewed by Adam Barth.
1693
1694         As well as adding the local/remote descriptions stuff, I removed the source attribute from
1695         RTCSessionDescriptionCallback and RTCErrorCallback since it has been removed from the draft.
1696
1697         Tests: fast/mediastream/RTCPeerConnection-localDescription.html
1698                fast/mediastream/RTCPeerConnection-remoteDescription.html
1699
1700         * CMakeLists.txt:
1701         * GNUmakefile.list.am:
1702         * Modules/mediastream/RTCErrorCallback.h:
1703         (RTCErrorCallback):
1704         * Modules/mediastream/RTCErrorCallback.idl:
1705         * Modules/mediastream/RTCPeerConnection.cpp:
1706         (WebCore::RTCPeerConnection::createOffer):
1707         (WebCore::RTCPeerConnection::setLocalDescription):
1708         (WebCore):
1709         (WebCore::RTCPeerConnection::localDescription):
1710         (WebCore::RTCPeerConnection::setRemoteDescription):
1711         (WebCore::RTCPeerConnection::remoteDescription):
1712         * Modules/mediastream/RTCPeerConnection.h:
1713         (WebCore):
1714         (RTCPeerConnection):
1715         * Modules/mediastream/RTCPeerConnection.idl:
1716         * Modules/mediastream/RTCSessionDescriptionCallback.h:
1717         (RTCSessionDescriptionCallback):
1718         * Modules/mediastream/RTCSessionDescriptionCallback.idl:
1719         * Modules/mediastream/RTCSessionDescriptionRequestImpl.cpp:
1720         (WebCore::RTCSessionDescriptionRequestImpl::create):
1721         (WebCore::RTCSessionDescriptionRequestImpl::RTCSessionDescriptionRequestImpl):
1722         (WebCore::RTCSessionDescriptionRequestImpl::requestSucceeded):
1723         (WebCore::RTCSessionDescriptionRequestImpl::requestFailed):
1724         (WebCore::RTCSessionDescriptionRequestImpl::clear):
1725         * Modules/mediastream/RTCSessionDescriptionRequestImpl.h:
1726         (RTCSessionDescriptionRequestImpl):
1727         * Modules/mediastream/RTCVoidRequestImpl.cpp: Copied from Source/WebCore/Modules/mediastream/RTCSessionDescriptionRequestImpl.cpp.
1728         (WebCore):
1729         (WebCore::RTCVoidRequestImpl::create):
1730         (WebCore::RTCVoidRequestImpl::RTCVoidRequestImpl):
1731         (WebCore::RTCVoidRequestImpl::~RTCVoidRequestImpl):
1732         (WebCore::RTCVoidRequestImpl::requestSucceeded):
1733         (WebCore::RTCVoidRequestImpl::requestFailed):
1734         (WebCore::RTCVoidRequestImpl::stop):
1735         (WebCore::RTCVoidRequestImpl::clear):
1736         * Modules/mediastream/RTCVoidRequestImpl.h: Copied from Source/WebCore/Modules/mediastream/RTCSessionDescriptionCallback.h.
1737         (WebCore):
1738         (RTCVoidRequestImpl):
1739         * WebCore.gypi:
1740         * platform/chromium/support/WebRTCVoidRequest.cpp: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h.
1741         (WebKit):
1742         (WebKit::WebRTCVoidRequest::WebRTCVoidRequest):
1743         (WebKit::WebRTCVoidRequest::assign):
1744         (WebKit::WebRTCVoidRequest::reset):
1745         (WebKit::WebRTCVoidRequest::requestSucceeded):
1746         (WebKit::WebRTCVoidRequest::requestFailed):
1747         (ExtraDataContainer):
1748         (WebKit::ExtraDataContainer::ExtraDataContainer):
1749         (WebKit::ExtraDataContainer::extraData):
1750         (WebKit::WebRTCVoidRequest::extraData):
1751         (WebKit::WebRTCVoidRequest::setExtraData):
1752         * platform/mediastream/RTCPeerConnectionHandler.cpp:
1753         (RTCPeerConnectionHandlerDummy):
1754         (WebCore::RTCPeerConnectionHandlerDummy::setLocalDescription):
1755         (WebCore):
1756         (WebCore::RTCPeerConnectionHandlerDummy::setRemoteDescription):
1757         (WebCore::RTCPeerConnectionHandlerDummy::localDescription):
1758         (WebCore::RTCPeerConnectionHandlerDummy::remoteDescription):
1759         * platform/mediastream/RTCPeerConnectionHandler.h:
1760         (WebCore):
1761         (RTCPeerConnectionHandler):
1762         * platform/mediastream/RTCVoidRequest.h: Copied from Source/WebCore/Modules/mediastream/RTCErrorCallback.h.
1763         (WebCore):
1764         (RTCVoidRequest):
1765         (ExtraData):
1766         (WebCore::RTCVoidRequest::ExtraData::~ExtraData):
1767         (WebCore::RTCVoidRequest::~RTCVoidRequest):
1768         (WebCore::RTCVoidRequest::extraData):
1769         (WebCore::RTCVoidRequest::setExtraData):
1770         (WebCore::RTCVoidRequest::RTCVoidRequest):
1771         * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
1772         (WebCore::RTCPeerConnectionHandlerChromium::setLocalDescription):
1773         (WebCore):
1774         (WebCore::RTCPeerConnectionHandlerChromium::setRemoteDescription):
1775         (WebCore::RTCPeerConnectionHandlerChromium::localDescription):
1776         (WebCore::RTCPeerConnectionHandlerChromium::remoteDescription):
1777         * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
1778         (RTCPeerConnectionHandlerChromium):
1779
1780 2012-09-01  Dirk Schulze  <krit@webkit.org>
1781
1782         Use -webkit-clip-path shapes to clip HTML elements
1783         https://bugs.webkit.org/show_bug.cgi?id=95646
1784
1785         Reviewed by Dean Jackson.
1786
1787         -webkit-clip-path creates a new layer for HTML elements now. The border,
1788         background and content gets clipped by the clip path after any filter was
1789         applied.
1790
1791         Tests: css3/masking/clip-path-circle-filter.html
1792                css3/masking/clip-path-circle-overflow.html
1793                css3/masking/clip-path-circle-overflow-hidden.html
1794                css3/masking/clip-path-circle-relative-overflow.html
1795                css3/masking/clip-path-circle.html
1796                css3/masking/clip-path-ellipse.html
1797                css3/masking/clip-path-polygon-evenodd.html
1798                css3/masking/clip-path-polygon-nonzero.html
1799                css3/masking/clip-path-polygon.html
1800                css3/masking/clip-path-rectangle.html
1801
1802         * rendering/RenderBox.h: Create new layer on clip-path.
1803         * rendering/RenderBoxModelObject.h:
1804         (WebCore::RenderBoxModelObject::requiresLayer): Create new layer on clip-path.
1805         * rendering/RenderInline.h:
1806         (WebCore::RenderInline::requiresLayer): Create new layer on clip-path.
1807         * rendering/RenderLayer.cpp: Apply clip-path on context of object.
1808         (WebCore::RenderLayer::paintLayerContents): Create new layer on clip-path.
1809         * rendering/RenderObject.h:
1810         (WebCore::RenderObject::hasClipPath): Indicates that renderer needs to be clipped by clip-path.
1811         * rendering/RenderTableRow.h: Create new layer on clip-path.
1812
1813 2012-09-05  Kangil Han  <kangil.han@samsung.com>
1814
1815         [EFL] Use explicit constructor in RenderThemeEfl.
1816         https://bugs.webkit.org/show_bug.cgi?id=95853
1817
1818         Reviewed by Kentaro Hara.
1819
1820         Added explicit keyword in constructor of RenderThemeEfl in order to avoid implicit type conversion.
1821
1822         * platform/efl/RenderThemeEfl.h:
1823         (RenderThemeEfl):
1824
1825 2012-09-05  Vincent Scheib  <scheib@chromium.org>
1826
1827         webkitPointerLockElement returns null when pointer lock request is pending.
1828         https://bugs.webkit.org/show_bug.cgi?id=91186
1829
1830         Reviewed by Dimitri Glazkov.
1831
1832         Script should wait for a pointerlockchange event before detecting
1833         if it has acquired lock. However, if a script attempted to poll
1834         pointerLockElement it could be confused when lock was still pending.
1835         This change ensures that if lock is not yet acquired then
1836         pointerLockElement will return null.
1837
1838         Test: pointer-lock/pointerlockelement-null-when-pending.html
1839
1840         * dom/Document.cpp:
1841         (WebCore::Document::webkitPointerLockElement):
1842         * page/PointerLockController.cpp:
1843         (WebCore::PointerLockController::requestPointerLock):
1844         (WebCore::PointerLockController::elementRemoved):
1845         (WebCore::PointerLockController::documentDetached):
1846         (WebCore::PointerLockController::lockPending):
1847         (WebCore):
1848         (WebCore::PointerLockController::didAcquirePointerLock):
1849         (WebCore::PointerLockController::didNotAcquirePointerLock):
1850         (WebCore::PointerLockController::didLosePointerLock):
1851         (WebCore::PointerLockController::clearElement):
1852         * page/PointerLockController.h:
1853         (PointerLockController):
1854
1855 2012-09-05  Sami Kyostila  <skyostil@chromium.org>
1856
1857         [chromium] Wire up scrollable sublayers in ScrollingCoordinatorChromium
1858         https://bugs.webkit.org/show_bug.cgi?id=95679
1859
1860         Reviewed by James Robinson.
1861
1862         Implement scrollable sublayers in ScrollingCoordinatorChromium and introduce a
1863         WebLayerScrollClient which is notified of scroll events on its associated
1864         scroll layer. GraphicsLayerChromium uses it to apply scroll events targeted to
1865         its platform layer to a ScrollableArea, i.e., the RenderLayer corresponding to
1866         the scrollable element.
1867
1868         Tests: GraphicsLayerChromiumTest.applyScrollToScrollableArea
1869                WebLayerTest.ScrollClient
1870
1871         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
1872         (WebCore::GraphicsLayerChromium::GraphicsLayerChromium):
1873         (WebCore::GraphicsLayerChromium::didScroll):
1874         (WebCore):
1875         * platform/graphics/chromium/GraphicsLayerChromium.h:
1876         (WebCore):
1877         (WebCore::GraphicsLayerChromium::setScrollableArea):
1878         (WebCore::GraphicsLayerChromium::scrollableArea):
1879         (GraphicsLayerChromium):
1880         * platform/graphics/chromium/LayerChromium.cpp:
1881         * platform/graphics/chromium/LayerChromium.h:
1882         (WebKit):
1883         (WebCore):
1884         (WebCore::LayerChromium::setLayerScrollClient):
1885         (LayerChromium):
1886
1887 2012-09-05  Peter Rybin  <peter.rybin@gmail.com>
1888
1889         Web Inspector: CodeGeneratorInspector.py: support asynchronous command implementation
1890         https://bugs.webkit.org/show_bug.cgi?id=95649
1891
1892         Reviewed by Yury Semikhatsky.
1893
1894         Generator is extended to generate callback object for each asynchronous command.
1895
1896         * inspector/CodeGeneratorInspector.py:
1897         (Writer.append_multiline):
1898         (Writer):
1899         (Writer.get_indent):
1900         (TypeBindings.create_type_declaration_.ClassBinding.resolve_inner.ResolveData):
1901         (InspectorBackendDispatcherImpl):
1902         (CallbackBase):
1903         (Generator.process_event):
1904         (Generator):
1905         (Generator.EventMethodStructTemplate):
1906         (Generator.EventMethodStructTemplate.append_prolog):
1907         (Generator.EventMethodStructTemplate.append_epilog):
1908         (Generator.process_command):
1909         (Generator.CallbackMethodStructTemplate):
1910         (Generator.CallbackMethodStructTemplate.append_prolog):
1911         (Generator.CallbackMethodStructTemplate.append_epilog):
1912         (Generator.generate_send_method):
1913
1914 2012-09-05  Kevin Ellis  <kevers@chromium.org>
1915
1916         [chromium] Unify size of popup menu for touch and non-touch.
1917         https://bugs.webkit.org/show_bug.cgi?id=95606
1918
1919         Reviewed by Adam Barth.
1920
1921         Use minimum height for popup menus entries regardless of whether the
1922         popup menu is displayed on a touch screen.  Replaces use of touch
1923         padding.  Height meets minimum size requirement for a low error rate
1924         while still looking aesthetic for non-touch.
1925
1926         Covered by existing tests.
1927
1928         * platform/chromium/PopupListBox.cpp:
1929         (WebCore::PopupListBox::getRowHeight):
1930         * platform/chromium/PopupMenuChromium.cpp:
1931         (WebCore):
1932         * platform/chromium/PopupMenuChromium.h:
1933         (PopupMenuChromium):
1934
1935 2012-09-05  Mihnea Ovidenie  <mihnea@adobe.com>
1936
1937         [CSS Regions] Auto width is not working for Regions
1938         https://bugs.webkit.org/show_bug.cgi?id=74135
1939
1940         Reviewed by Julien Chaffraix.
1941
1942         It was not possible to flow content into a region having { width: auto; } since in such case, the region width was computed to 0.
1943         Now, a region having auto width, will have its width computed following the rules for calculation of widths and margins
1944         (http://www.w3.org/TR/CSS2/visudet.html#Computing_widths_and_margins).
1945         For those cases in which resolving the width requires measuring of content's min/max-content values, we use the associated named flow min/max-content
1946         values (the same for all regions with width auto in a region chain).
1947         When a region has width:auto, the computation of width should be done using normal block/box sizing code, instead of replaced element code.
1948         Contains code contributed by Alexandru Chiculita(achicu@adobe.com).
1949
1950         Tests: fast/regions/autowidth-abspos-regionchain.html
1951                fast/regions/autowidth-abspos.html
1952                fast/regions/autowidth-float.html
1953                fast/regions/autowidth-inlineblock.html
1954                fast/regions/autowidth-nonreplaced-abspos.html
1955                fast/regions/autowidth-nonreplacedblock-normalflow.html
1956                fast/regions/autowidth-normalflow-maxwidth.html
1957                fast/regions/autowidth-normalflow-minmaxwidth.html
1958                fast/regions/autowidth-normalflow-minwidth.html
1959                fast/regions/autowidth-normalflow-vertrl.html
1960                fast/regions/autowidth-normalflow.html
1961
1962         * rendering/RenderBox.cpp: 
1963         (WebCore::RenderBox::computePositionedLogicalWidth): For positioned auto-width regions, skip the code path for replaced elements.
1964         * rendering/RenderRegion.cpp:
1965         (WebCore): Override min/maxPreferredLogicalWidth as they are used in the process of computing width for regions with auto width.
1966         As this moment, a region is still a RenderReplaced element, so this code needs to be revisited when the region will become a RenderBlock.
1967         Also, for min/max-width, we support only <length> values. We will extend support for other values in a following patch.
1968         (WebCore::RenderRegion::minPreferredLogicalWidth):
1969         (WebCore::RenderRegion::maxPreferredLogicalWidth):
1970         * rendering/RenderRegion.h:
1971         (RenderRegion):
1972         Override isInlineBlockOrInlineTable() and shouldComputeSizeAsReplaced() to ensure that computation for width auto follows the normal
1973         block/box sizing code.
1974
1975 2012-09-05  Ilya Tikhonovsky  <loislo@chromium.org>
1976
1977         Web Inspector: NMI: extract MemoryObjectType constants from MemoryInstrumentation.
1978         https://bugs.webkit.org/show_bug.cgi?id=95850
1979
1980         Reviewed by Yury Semikhatsky.
1981
1982         I'd like to extract MemoryObjectTypes into separate classes.
1983         After that we will be able to move core NMI instrumentation code to WTF.
1984
1985         * bindings/js/ScriptWrappable.h:
1986         (WebCore::ScriptWrappable::reportMemoryUsage):
1987         * bindings/v8/DOMDataStore.cpp:
1988         (WebCore::DOMDataStore::reportMemoryUsage):
1989         * bindings/v8/IntrusiveDOMWrapperMap.h:
1990         (WebCore::ChunkedTable::reportMemoryUsage):
1991         * bindings/v8/ScriptWrappable.h:
1992         (WebCore::ScriptWrappable::reportMemoryUsage):
1993         * bindings/v8/V8Binding.cpp:
1994         (WebCore::StringCache::reportMemoryUsage):
1995         * bindings/v8/V8DOMMap.h:
1996         * bindings/v8/V8PerIsolateData.cpp:
1997         (WebCore::V8PerIsolateData::reportMemoryUsage):
1998         * css/CSSAspectRatioValue.cpp:
1999         (WebCore::CSSAspectRatioValue::reportDescendantMemoryUsage):
2000         * css/CSSBorderImageSliceValue.cpp:
2001         (WebCore::CSSBorderImageSliceValue::reportDescendantMemoryUsage):
2002         * css/CSSCalculationValue.cpp:
2003         (WebCore::CSSCalcValue::reportDescendantMemoryUsage):
2004         * css/CSSCanvasValue.cpp:
2005         (WebCore::CSSCanvasValue::reportDescendantMemoryUsage):
2006         * css/CSSCharsetRule.cpp:
2007         (WebCore::CSSCharsetRule::reportDescendantMemoryUsage):
2008         * css/CSSComputedStyleDeclaration.cpp:
2009         (WebCore::CSSComputedStyleDeclaration::reportMemoryUsage):
2010         * css/CSSCrossfadeValue.cpp:
2011         (WebCore::CSSCrossfadeValue::reportDescendantMemoryUsage):
2012         * css/CSSCursorImageValue.cpp:
2013         (WebCore::CSSCursorImageValue::reportDescendantMemoryUsage):
2014         * css/CSSFontFaceRule.cpp:
2015         (WebCore::CSSFontFaceRule::reportDescendantMemoryUsage):
2016         * css/CSSFontFaceSrcValue.cpp:
2017         (WebCore::CSSFontFaceSrcValue::reportDescendantMemoryUsage):
2018         * css/CSSFunctionValue.cpp:
2019         (WebCore::CSSFunctionValue::reportDescendantMemoryUsage):
2020         * css/CSSGradientValue.cpp:
2021         (WebCore::CSSGradientColorStop::reportMemoryUsage):
2022         (WebCore::CSSGradientValue::reportBaseClassMemoryUsage):
2023         (WebCore::CSSLinearGradientValue::reportDescendantMemoryUsage):
2024         (WebCore::CSSRadialGradientValue::reportDescendantMemoryUsage):
2025         * css/CSSImageGeneratorValue.cpp:
2026         (WebCore::CSSImageGeneratorValue::reportBaseClassMemoryUsage):
2027         * css/CSSImageSetValue.cpp:
2028         (WebCore::CSSImageSetValue::reportDescendantMemoryUsage):
2029         (WebCore::CSSImageSetValue::ImageWithScale::reportMemoryUsage):
2030         * css/CSSImageValue.cpp:
2031         (WebCore::CSSImageValue::reportDescendantMemoryUsage):
2032         * css/CSSImportRule.cpp:
2033         (WebCore::CSSImportRule::reportDescendantMemoryUsage):
2034         * css/CSSInheritedValue.cpp:
2035         (WebCore::CSSInheritedValue::reportDescendantMemoryUsage):
2036         * css/CSSInitialValue.cpp:
2037         (WebCore::CSSInitialValue::reportDescendantMemoryUsage):
2038         * css/CSSLineBoxContainValue.cpp:
2039         (WebCore::CSSLineBoxContainValue::reportDescendantMemoryUsage):
2040         * css/CSSMediaRule.cpp:
2041         (WebCore::CSSMediaRule::reportDescendantMemoryUsage):
2042         * css/CSSPageRule.cpp:
2043         (WebCore::CSSPageRule::reportDescendantMemoryUsage):
2044         * css/CSSPrimitiveValue.cpp:
2045         (WebCore::CSSPrimitiveValue::reportDescendantMemoryUsage):
2046         * css/CSSProperty.cpp:
2047         (WebCore::CSSProperty::reportMemoryUsage):
2048         * css/CSSReflectValue.cpp:
2049         (WebCore::CSSReflectValue::reportDescendantMemoryUsage):
2050         * css/CSSRule.cpp:
2051         (WebCore::CSSRule::reportBaseClassMemoryUsage):
2052         * css/CSSRuleList.cpp:
2053         (WebCore::StaticCSSRuleList::reportMemoryUsage):
2054         * css/CSSRuleList.h:
2055         * css/CSSSelectorList.cpp:
2056         (WebCore::CSSSelectorList::reportMemoryUsage):
2057         * css/CSSStyleRule.cpp:
2058         (WebCore::CSSStyleRule::reportDescendantMemoryUsage):
2059         * css/CSSStyleSheet.cpp:
2060         (WebCore::CSSStyleSheet::reportMemoryUsage):
2061         * css/CSSTimingFunctionValue.cpp:
2062         (WebCore::CSSLinearTimingFunctionValue::reportDescendantMemoryUsage):
2063         (WebCore::CSSCubicBezierTimingFunctionValue::reportDescendantMemoryUsage):
2064         (WebCore::CSSStepsTimingFunctionValue::reportDescendantMemoryUsage):
2065         * css/CSSUnicodeRangeValue.cpp:
2066         (WebCore::CSSUnicodeRangeValue::reportDescendantMemoryUsage):
2067         * css/CSSUnknownRule.h:
2068         (WebCore::CSSUnknownRule::reportDescendantMemoryUsage):
2069         * css/CSSValue.cpp:
2070         (WebCore::TextCloneCSSValue::reportDescendantMemoryUsage):
2071         * css/CSSValueList.cpp:
2072         (WebCore::CSSValueList::reportDescendantMemoryUsage):
2073         * css/CSSVariableValue.h:
2074         (WebCore::CSSVariableValue::reportDescendantMemoryUsage):
2075         * css/FontFeatureValue.cpp:
2076         (WebCore::FontFeatureValue::reportDescendantMemoryUsage):
2077         * css/FontValue.cpp:
2078         (WebCore::FontValue::reportDescendantMemoryUsage):
2079         * css/MediaList.cpp:
2080         (WebCore::MediaQuerySet::reportMemoryUsage):
2081         (WebCore::MediaList::reportMemoryUsage):
2082         * css/MediaQuery.cpp:
2083         (WebCore::MediaQuery::reportMemoryUsage):
2084         * css/MediaQueryExp.cpp:
2085         (WebCore::MediaQueryExp::reportMemoryUsage):
2086         * css/PropertySetCSSStyleDeclaration.cpp:
2087         (WebCore::PropertySetCSSStyleDeclaration::reportMemoryUsage):
2088         (WebCore::StyleRuleCSSStyleDeclaration::reportMemoryUsage):
2089         (WebCore::InlineCSSStyleDeclaration::reportMemoryUsage):
2090         * css/ShadowValue.cpp:
2091         (WebCore::ShadowValue::reportDescendantMemoryUsage):
2092         * css/StylePropertySet.cpp:
2093         (WebCore::StylePropertySet::reportMemoryUsage):
2094         * css/StyleResolver.cpp:
2095         (WebCore::StyleResolver::Features::reportMemoryUsage):
2096         (WebCore::StyleResolver::collectMatchingRulesForList):
2097         * css/StyleRule.cpp:
2098         (WebCore::StyleRuleBase::reportMemoryUsage):
2099         (WebCore::StyleRule::reportDescendantMemoryUsage):
2100         (WebCore::StyleRulePage::reportDescendantMemoryUsage):
2101         (WebCore::StyleRuleFontFace::reportDescendantMemoryUsage):
2102         (WebCore::StyleRuleBlock::reportDescendantMemoryUsage):
2103         (WebCore::StyleRuleMedia::reportDescendantMemoryUsage):
2104         (WebCore::StyleRuleRegion::reportDescendantMemoryUsage):
2105         * css/StyleRuleImport.cpp:
2106         (WebCore::StyleRuleImport::reportDescendantMemoryUsage):
2107         * css/StyleSheetContents.cpp:
2108         (WebCore::StyleSheetContents::reportMemoryUsage):
2109         * css/WebKitCSSFilterValue.cpp:
2110         (WebCore::WebKitCSSFilterValue::reportDescendantMemoryUsage):
2111         * css/WebKitCSSKeyframeRule.cpp:
2112         (WebCore::StyleKeyframe::reportMemoryUsage):
2113         (WebCore::WebKitCSSKeyframeRule::reportDescendantMemoryUsage):
2114         * css/WebKitCSSKeyframesRule.cpp:
2115         (WebCore::StyleRuleKeyframes::reportDescendantMemoryUsage):
2116         (WebCore::WebKitCSSKeyframesRule::reportDescendantMemoryUsage):
2117         * css/WebKitCSSMixFunctionValue.cpp:
2118         (WebCore::WebKitCSSMixFunctionValue::reportDescendantMemoryUsage):
2119         * css/WebKitCSSRegionRule.cpp:
2120         (WebCore::WebKitCSSRegionRule::reportDescendantMemoryUsage):
2121         * css/WebKitCSSSVGDocumentValue.cpp:
2122         (WebCore::WebKitCSSSVGDocumentValue::reportDescendantMemoryUsage):
2123         * css/WebKitCSSShaderValue.cpp:
2124         (WebCore::WebKitCSSShaderValue::reportDescendantMemoryUsage):
2125         * css/WebKitCSSTransformValue.cpp:
2126         (WebCore::WebKitCSSTransformValue::reportDescendantMemoryUsage):
2127         * dom/Attribute.h:
2128         (WebCore::Attribute::reportMemoryUsage):
2129         * dom/CharacterData.cpp:
2130         (WebCore::CharacterData::reportMemoryUsage):
2131         * dom/ContainerNode.h:
2132         (WebCore::ContainerNode::reportMemoryUsage):
2133         * dom/Document.cpp:
2134         (WebCore::Document::reportMemoryUsage):
2135         * dom/DocumentEventQueue.cpp:
2136         (WebCore::DocumentEventQueue::reportMemoryUsage):
2137         * dom/Element.h:
2138         (WebCore::Element::reportMemoryUsage):
2139         * dom/ElementAttributeData.cpp:
2140         (WebCore::ElementAttributeData::reportMemoryUsage):
2141         * dom/Event.cpp:
2142         (WebCore::Event::reportMemoryUsage):
2143         * dom/MemoryInstrumentation.cpp:
2144         (WebCore):
2145         * dom/MemoryInstrumentation.h:
2146         (WebCore):
2147         (GenericMemoryTypes):
2148         (WebCore::MemoryInstrumentation::addRootObject):
2149         (WebCore::MemoryObjectInfo::reportObjectInfo):
2150         (WebCoreMemoryTypes):
2151         * dom/Node.cpp:
2152         (WebCore::Node::reportMemoryUsage):
2153         * dom/QualifiedName.h:
2154         (WebCore::QualifiedName::QualifiedNameImpl::reportMemoryUsage):
2155         (WebCore::QualifiedName::reportMemoryUsage):
2156         * html/HTMLImageElement.cpp:
2157         (WebCore::HTMLImageElement::reportMemoryUsage):
2158         * inspector/InspectorMemoryAgent.cpp:
2159         (WebCore):
2160         * loader/DocumentLoader.cpp:
2161         (WebCore::DocumentLoader::reportMemoryUsage):
2162         * loader/FrameLoader.cpp:
2163         (WebCore::FrameLoader::reportMemoryUsage):
2164         * loader/MainResourceLoader.cpp:
2165         (WebCore::MainResourceLoader::reportMemoryUsage):
2166         * loader/ResourceLoader.cpp:
2167         (WebCore::ResourceLoader::reportMemoryUsage):
2168         * loader/SubresourceLoader.cpp:
2169         (WebCore::SubresourceLoader::reportMemoryUsage):
2170         * loader/SubstituteData.cpp:
2171         (WebCore::SubstituteData::reportMemoryUsage):
2172         * loader/cache/CachedCSSStyleSheet.cpp:
2173         (WebCore::CachedCSSStyleSheet::reportMemoryUsage):
2174         * loader/cache/CachedFont.cpp:
2175         (WebCore::CachedFont::reportMemoryUsage):
2176         * loader/cache/CachedImage.cpp:
2177         (WebCore::CachedImage::reportMemoryUsage):
2178         * loader/cache/CachedRawResource.cpp:
2179         (WebCore::CachedRawResource::reportMemoryUsage):
2180         * loader/cache/CachedResource.cpp:
2181         (WebCore::CachedResource::reportMemoryUsage):
2182         * loader/cache/CachedResourceHandle.cpp:
2183         (WebCore::CachedResourceHandleBase::reportMemoryUsage):
2184         * loader/cache/CachedResourceLoader.cpp:
2185         (WebCore::CachedResourceLoader::reportMemoryUsage):
2186         * loader/cache/CachedSVGDocument.cpp:
2187         (WebCore::CachedSVGDocument::reportMemoryUsage):
2188         * loader/cache/CachedScript.cpp:
2189         (WebCore::CachedScript::reportMemoryUsage):
2190         * loader/cache/CachedShader.cpp:
2191         (WebCore::CachedShader::reportMemoryUsage):
2192         * loader/cache/CachedXSLStyleSheet.cpp:
2193         (WebCore::CachedXSLStyleSheet::reportMemoryUsage):
2194         * loader/cache/MemoryCache.cpp:
2195         (WebCore::MemoryCache::reportMemoryUsage):
2196         * page/Frame.cpp:
2197         (WebCore::Frame::reportMemoryUsage):
2198         * platform/SharedBuffer.cpp:
2199         (WebCore::SharedBuffer::reportMemoryUsage):
2200         * platform/TreeShared.h:
2201         (WebCore::TreeShared::reportMemoryUsage):
2202         * platform/graphics/BitmapImage.cpp:
2203         (WebCore::BitmapImage::reportMemoryUsage):
2204         * platform/graphics/CrossfadeGeneratedImage.cpp:
2205         (WebCore::CrossfadeGeneratedImage::reportMemoryUsage):
2206         * platform/graphics/GeneratedImage.cpp:
2207         (WebCore::GeneratedImage::reportMemoryUsage):
2208         * platform/graphics/GeneratorGeneratedImage.cpp:
2209         (WebCore::GeneratorGeneratedImage::reportMemoryUsage):
2210         * platform/graphics/Image.cpp:
2211         (WebCore::Image::reportMemoryUsage):
2212         * platform/network/FormData.cpp:
2213         (WebCore::FormData::reportMemoryUsage):
2214         * platform/network/ResourceRequestBase.cpp:
2215         (WebCore::ResourceRequestBase::reportMemoryUsage):
2216         * platform/network/ResourceResponseBase.cpp:
2217         (WebCore::ResourceResponseBase::reportMemoryUsage):
2218         * rendering/style/RenderStyle.cpp:
2219         (WebCore::RenderStyle::reportMemoryUsage):
2220         * rendering/style/StyleRareInheritedData.cpp:
2221         (WebCore::StyleRareInheritedData::reportMemoryUsage):
2222         * rendering/style/StyleRareNonInheritedData.cpp:
2223         (WebCore::StyleRareNonInheritedData::reportMemoryUsage):
2224         * svg/SVGColor.cpp:
2225         (WebCore::SVGColor::reportDescendantMemoryUsage):
2226         * svg/SVGPaint.cpp:
2227         (WebCore::SVGPaint::reportDescendantMemoryUsage):
2228         * svg/graphics/SVGImage.cpp:
2229         (WebCore::SVGImage::reportMemoryUsage):
2230
2231 2012-09-05  Ilya Tikhonovsky  <loislo@chromium.org>
2232
2233         Web Inspector: NMI: extract overloaded instrumentation members for WebCore classes from core NMI code.
2234         https://bugs.webkit.org/show_bug.cgi?id=95834
2235
2236         Reviewed by Yury Semikhatsky.
2237
2238         I'd like to remove custom instrumentation methods from MemoryInstrumentation class
2239         before upstreaming it to WTF. I've done it with help of MemoryInstrumentationTraits template helper.
2240
2241         Unfortunately it is not possible to use template class because mac-ews bot reports warning: redundant redeclaration of 'something' in same scope.
2242         I've found that it is an old problem in gcc that is forced by -Wredundant-decls flag on the bot. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15867
2243
2244         * dom/MemoryInstrumentation.cpp:
2245         (WebCore::::addInstrumentedObject):
2246         (WebCore):
2247         * dom/MemoryInstrumentation.h:
2248         (WebCore):
2249         (MemoryInstrumentationTraits):
2250         (MemoryInstrumentation):
2251         (WebCore::MemoryInstrumentation::InstrumentedPointer::InstrumentedPointer):
2252         (InstrumentedPointer):
2253         (WebCore::MemoryInstrumentation::addObject):
2254         (WebCore::MemoryInstrumentation::addInstrumentedObject):
2255         (WebCore::MemoryInstrumentation::addRawBuffer):
2256         (WebCore::MemoryInstrumentation::OwningTraits::addInstrumentedObject):
2257         (WebCore::MemoryInstrumentation::OwningTraits::addObject):
2258         (WebCore::::addInstrumentedObject):
2259         (WebCore::::addObject):
2260         (WebCore::MemoryObjectInfo::MemoryObjectInfo):
2261         (WebCore::MemoryObjectInfo::objectType):
2262         (WebCore::MemoryObjectInfo::reportObjectInfo):
2263         (MemoryObjectInfo):
2264         (WebCore::MemoryClassInfo::MemoryClassInfo):
2265         (MemoryClassInfo):
2266         (WebCore::MemoryInstrumentation::addInstrumentedObjectImpl):
2267         (WebCore::MemoryInstrumentation::addObjectImpl):
2268         (WebCore::MemoryInstrumentation::addHashMap):
2269         (WebCore::MemoryInstrumentation::addHashSet):
2270         (WebCore::MemoryInstrumentation::addInstrumentedCollection):
2271         (WebCore::MemoryInstrumentation::addInstrumentedMapEntries):
2272         (WebCore::MemoryInstrumentation::addInstrumentedMapValues):
2273         (WebCore::MemoryInstrumentation::addListHashSet):
2274         (WebCore::MemoryInstrumentation::addVector):
2275         * inspector/MemoryInstrumentationImpl.cpp:
2276         (WebCore::MemoryInstrumentationImpl::countObjectSize):
2277         * inspector/MemoryInstrumentationImpl.h:
2278         (WebCore::MemoryInstrumentationImpl::totalSize):
2279         (MemoryInstrumentationImpl):
2280
2281 2012-09-05  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
2282
2283         [Qt] Build fix on OS X
2284
2285         Copy/paste-error resulted in us compiling InspectorPageOverlay.h
2286
2287         Reviewed by Ossy.
2288
2289         * DerivedSources.pri:
2290
2291 2012-09-05  Sheriff Bot  <webkit.review.bot@gmail.com>
2292
2293         Unreviewed, rolling out r127573.
2294         http://trac.webkit.org/changeset/127573
2295         https://bugs.webkit.org/show_bug.cgi?id=95844
2296
2297         Breaks EFL Debug bot tests. (Requested by drott on #webkit).
2298
2299         * platform/efl/RenderThemeEfl.cpp:
2300         (WebCore::RenderThemeEfl::themePartCacheEntryReset):
2301         (WebCore::RenderThemeEfl::cacheThemePartNew):
2302         (WebCore::RenderThemeEfl::paintThemePart):
2303         (WebCore::RenderThemeEfl::setThemePath):
2304         (WebCore::RenderThemeEfl::createCanvas):
2305         (WebCore::RenderThemeEfl::createEdje):
2306         (WebCore::RenderThemeEfl::applyPartDescriptions):
2307         (WebCore::RenderThemeEfl::themeChanged):
2308         (WebCore):
2309         * platform/efl/RenderThemeEfl.h:
2310         (RenderThemeEfl):
2311
2312 2012-09-05  MORITA Hajime  <morrita@google.com>
2313
2314         ShadowRoot.cloneNode() must always throw a DATA_CLONE_ERR exception.
2315         https://bugs.webkit.org/show_bug.cgi?id=91704
2316
2317         Reviewed by Kentaro Hara.
2318
2319         This change implement ShadowRoot::cloneNode() which throws an exception.
2320         This also adds an overloaded version cloneNode() to ShadowRoot.idl
2321         which is enabled only for JavaScript instead of changing the
2322         signature of Node::cloneNode().
2323
2324         Note that changing the existing signature can break GObject bindings
2325         compatibility.
2326
2327         Test: fast/dom/shadow/shadowroot-clonenode.html
2328
2329         * dom/ShadowRoot.cpp:
2330         (WebCore::ShadowRoot::cloneNode):
2331         (WebCore):
2332         * dom/ShadowRoot.h:
2333         (ShadowRoot):
2334         * dom/ShadowRoot.idl:
2335
2336 2012-09-05  Simon Hausmann  <simon.hausmann@nokia.com>
2337
2338         [Qt] Unreviewed trivial build fix: Use DOMAllInOne.cpp only if we have xslt available.
2339
2340         * Target.pri:
2341
2342 2012-09-05  Kaustubh Atrawalkar  <kaustubh@motorola.com>
2343
2344         [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
2345         https://bugs.webkit.org/show_bug.cgi?id=92735
2346
2347         Reviewed by Hajime Morita.
2348
2349         Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
2350
2351         Covered by existing test cases.
2352
2353         * testing/Internals.cpp:
2354         (WebCore::Internals::numberOfPages):
2355         (WebCore):
2356         (WebCore::Internals::pageProperty):
2357         (WebCore::Internals::pageSizeAndMarginsInPixels):
2358         * testing/Internals.h:
2359         (Internals):
2360         * testing/Internals.idl:
2361
2362 2012-09-05  Simon Hausmann  <simon.hausmann@nokia.com>
2363
2364         [Qt] Automate the use of AllInOne files in the Qt build
2365         https://bugs.webkit.org/show_bug.cgi?id=95837
2366
2367         Reviewed by Tor Arne Vestbø.
2368
2369         Replace the manual use of SVGAllInOne.cpp with automated use through
2370         the ALL_IN_ONE_SOURCES variable. This adds a few more all-in-one sources
2371         to the build and leaves out some that do not compile yet due to various
2372         platform-dependant pre-processor macro issues.
2373
2374         * Target.pri:
2375
2376 2012-09-05  Benjamin Poulain  <bpoulain@apple.com>
2377
2378         Fix the uses of String::operator+=() for Mac
2379         https://bugs.webkit.org/show_bug.cgi?id=95818
2380
2381         Reviewed by Dan Bernstein.
2382
2383         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
2384         (WebCore::JSCSSStyleDeclaration::putDelegate):
2385         This is a legitimate use of String::append(), it is the only
2386         concatenation in this function.
2387
2388         * loader/appcache/ManifestParser.cpp:
2389         (WebCore::parseManifest): Ditto.
2390
2391 2012-09-05  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2392
2393         [EFL] Fuzzy load the Edje theme for HTML forms
2394         https://bugs.webkit.org/show_bug.cgi?id=95832
2395
2396         Reviewed by Gyuyoung Kim.
2397
2398         Change the theme so that it is first loaded when actually used.
2399         This also fixed the case that it was impossible to change theme
2400         a second time.
2401
2402         Tested by current tests. API unit test coming in separate patch.
2403
2404         * platform/efl/RenderThemeEfl.cpp:
2405         (WebCore::RenderThemeEfl::themePartCacheEntryReset):
2406         (WebCore::RenderThemeEfl::cacheThemePartNew):
2407         (WebCore::RenderThemeEfl::paintThemePart):
2408         (WebCore::RenderThemeEfl::setThemePath):
2409         (WebCore::RenderThemeEfl::edje):
2410         (WebCore::RenderThemeEfl::applyPartDescriptions):
2411         * platform/efl/RenderThemeEfl.h:
2412         (RenderThemeEfl):
2413
2414 2012-09-05  Chris Guan  <chris.guan@torchmobile.com.cn>
2415
2416         [Blackberry] Add document url and securityOrigin to platform request.
2417         https://bugs.webkit.org/show_bug.cgi?id=95822
2418
2419         Reviewed by George Staikos.
2420         Internally Reviewed by Joe Mason.
2421
2422         It is a webworks requirement.
2423
2424         * platform/network/blackberry/NetworkManager.cpp:
2425         (WebCore::NetworkManager::startJob):
2426
2427 2012-09-04  Ilya Tikhonovsky  <loislo@chromium.org>
2428
2429         Web Inspector: NMI: replace ObjectType enum with static const char* string identifiers.
2430         https://bugs.webkit.org/show_bug.cgi?id=95739
2431
2432         Reviewed by Yury Semikhatsky.
2433
2434         When we go deeper into different parts of browser like skia, chromium itself etc.
2435         we can't use a single enum for all reported object types.
2436         The current idea is to use plain simple strings as ObjectType identifiers.
2437         In the future patches we will extract these identifiers into separate class or namespace
2438         and and split it between components.
2439
2440         * dom/MemoryInstrumentation.cpp:
2441         (WebCore):
2442         * dom/MemoryInstrumentation.h:
2443         (MemoryInstrumentation):
2444         * inspector/InspectorMemoryAgent.cpp:
2445         (WebCore::addMemoryBlockFor):
2446         (WebCore):
2447         * inspector/MemoryInstrumentationImpl.cpp:
2448         (WebCore::MemoryInstrumentationImpl::MemoryInstrumentationImpl):
2449         (WebCore::MemoryInstrumentationImpl::countObjectSize):
2450         * inspector/MemoryInstrumentationImpl.h:
2451         (WebCore::MemoryInstrumentationImpl::totalSize):
2452         (WebCore::MemoryInstrumentationImpl::reportedSizeForAllTypes):
2453         (MemoryInstrumentationImpl):
2454
2455 2012-09-05  Patrick Gansterer  <paroga@webkit.org>
2456
2457         Build fix for WinCE after r127525.
2458
2459         * platform/graphics/wince/FontCustomPlatformData.h:
2460         (WebCore):
2461
2462 2012-09-04  Keishi Hattori  <keishi@webkit.org>
2463
2464         Move PagePopupClient implementation for input[type=date] to Chromium WebKit layer
2465         https://bugs.webkit.org/show_bug.cgi?id=95681
2466
2467         Reviewed by Kent Tamura.
2468
2469         We are moving calendar picker PagePopupClient to WebKit layer so ports
2470         can use their platform native chooser UI if they have one.
2471         DateTimeChooser, DateTimeChooserClient etc. will be reused when we
2472         implement the week picker and month picker.
2473
2474         No new tests. No behavior change. Covered by existing calendar picker tests.
2475
2476         * WebCore.gypi:
2477         * html/shadow/CalendarPickerElement.cpp:
2478         (WebCore::CalendarPickerElement::CalendarPickerElement):
2479         (WebCore::CalendarPickerElement::~CalendarPickerElement):
2480         (WebCore::CalendarPickerElement::didChooseValue): Called when user chose a value.
2481         (WebCore):
2482         (WebCore::CalendarPickerElement::didEndChooser): Called when chooser has ended.
2483         (WebCore::CalendarPickerElement::openPopup):
2484         (WebCore::CalendarPickerElement::closePopup):
2485         * html/shadow/CalendarPickerElement.h:
2486         (CalendarPickerElement):
2487         * loader/EmptyClients.cpp:
2488         (WebCore):
2489         (WebCore::EmptyChromeClient::openDateTimeChooser):
2490         * loader/EmptyClients.h:
2491         (EmptyChromeClient):
2492         * page/ChromeClient.h:
2493         (WebCore):
2494         (ChromeClient):
2495         * platform/DateTimeChooser.h:
2496         (WebCore):
2497         (DateTimeChooserParameters): Contains information needed to open the DateTimeChooser.
2498         (DateTimeChooser):
2499         (WebCore::DateTimeChooser::~DateTimeChooser):
2500         * platform/DateTimeChooserClient.h:
2501         (WebCore):
2502         (DateTimeChooserClient):
2503         (WebCore::DateTimeChooserClient::~DateTimeChooserClient):
2504
2505 2012-09-04  Mike Lawther  <mikelawther@chromium.org>
2506
2507         CSS3 calc: expressions with 'em' units do not zoom correctly.
2508         https://bugs.webkit.org/show_bug.cgi?id=95705
2509
2510         Reviewed by Ojan Vafai.
2511
2512         Each primitive value in a CSS calc expression now has (zoom) multiplier and scale factor applied
2513         independently. Previously the multiplier and a single scale factor was applied to the expression
2514         as a whole, but this failed to account for expressions involving font relative units. This is 
2515         because the multiplier should not be applied to font relative units.
2516
2517         Test: css3/calc/zoom-with-em.html
2518
2519         * css/CSSPrimitiveValue.cpp:
2520         (WebCore::CSSPrimitiveValue::computeLengthDouble):
2521
2522 2012-09-04  Brian Anderson  <brianderson@chromium.org>
2523
2524         [chromium] Prevent compositor ticking if it can't draw
2525         https://bugs.webkit.org/show_bug.cgi?id=95399
2526
2527         Reviewed by James Robinson.
2528
2529         Background extensions had an always ticking compositor even though
2530         they couldn't draw. This patch disables the ticks when canDraw is false
2531         and adds a notification mechanism for when canDraw changes states so
2532         we can recover properly.
2533
2534         Tests updated for new interfaces.
2535         Regression test added to make sure ticking stops when canDraw is false.
2536         notifyIfCanDrawChanged test added to make sure notifications are sent
2537         for any changes that might affect canDraw.
2538
2539         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
2540         (WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
2541         (WebCore::CCLayerTreeHostImpl::notifyIfCanDrawChanged):
2542         (WebCore):
2543         (WebCore::CCLayerTreeHostImpl::releaseContentsTextures):
2544         (WebCore::CCLayerTreeHostImpl::setRootLayer):
2545         (WebCore::CCLayerTreeHostImpl::initializeRenderer):
2546         (WebCore::CCLayerTreeHostImpl::setViewportSize):
2547         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
2548         (CCLayerTreeHostImplClient):
2549         (WebCore::CCLayerTreeHostImpl::resetContentsTexturesPurged):
2550         (CCLayerTreeHostImpl):
2551         * platform/graphics/chromium/cc/CCScheduler.cpp:
2552         (WebCore::CCScheduler::setCanDraw):
2553         (WebCore):
2554         (WebCore::CCScheduler::processScheduledActions):
2555         * platform/graphics/chromium/cc/CCScheduler.h:
2556         (CCScheduler):
2557         * platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp:
2558         (WebCore::CCSchedulerStateMachine::toString):
2559         (WebCore):
2560         (WebCore::CCSchedulerStateMachine::vsyncCallbackNeeded):
2561         * platform/graphics/chromium/cc/CCSchedulerStateMachine.h:
2562         (CCSchedulerStateMachine):
2563         * platform/graphics/chromium/cc/CCSingleThreadProxy.h:
2564         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
2565         (WebCore::CCThreadProxy::onCanDrawStateChanged):
2566         (WebCore):
2567         (WebCore::CCThreadProxy::beginFrame):
2568         (WebCore::CCThreadProxy::beginFrameCompleteOnImplThread):
2569         * platform/graphics/chromium/cc/CCThreadProxy.h:
2570
2571 2012-09-04  Adam Barth  <abarth@chromium.org>
2572
2573         Remove WTF_DEPRECATED_STRING_OPERATORS from StylePropertySet.cpp
2574         https://bugs.webkit.org/show_bug.cgi?id=95800
2575
2576         Reviewed by Benjamin Poulain.
2577
2578         This patch is a re-spin of part of the patch from
2579         https://bugs.webkit.org/show_bug.cgi?id=95502, but with the tests
2580         fixed.  :)
2581
2582         * css/StylePropertySet.cpp:
2583         (WebCore::StylePropertySet::get4Values):
2584         (WebCore::StylePropertySet::getLayeredShorthandValue):
2585
2586 2012-09-04  Keishi Hattori  <keishi@webkit.org>
2587
2588         REGRESSION(r126132): MediaSlider and MediaVolumeSlider thumbs don't match mouse when dragged
2589         https://bugs.webkit.org/show_bug.cgi?id=95701
2590
2591         Reviewed by Kent Tamura.
2592
2593         MediaSlider and MediaVolumeSlider thumbs didn't match mouse when dragged because of the negative margin applied to the thumb.
2594
2595         Test: platform/chromium/media/media-volume-slider-hit-test.html
2596
2597         * html/shadow/SliderThumbElement.cpp:
2598         (WebCore::SliderThumbElement::setPositionFromPoint): Account for margins when calculating the position.
2599
2600 2012-09-04  Tony Chang  <tony@chromium.org>
2601
2602         Add a const version of RenderBox::computeLogicalHeight
2603         https://bugs.webkit.org/show_bug.cgi?id=95787
2604
2605         Reviewed by Ojan Vafai.
2606
2607         After this, we can rename the old computeLogicalHeight to computeAndSetLogicalHeight
2608         to make it clear that it is modifying values.
2609
2610         No new tests, this should just be a refactor.
2611
2612         * rendering/RenderBox.cpp:
2613         (WebCore::RenderBox::constrainLogicalHeightByMinMax): Make const.
2614         (WebCore::RenderBox::computeLogicalHeight): Add a const version that takes a LogicalExtentComputedValues struct for out values.
2615         (WebCore::RenderBox::computeLogicalHeightUsing): Make const.
2616         (WebCore::RenderBox::computeContentLogicalHeightUsing): Make const.
2617         (WebCore::RenderBox::computePercentageLogicalHeight): Add a const cast. I tried to
2618         convert everything below to const, but that's not a simple task. Also, computeReplacedLogicalHeightUsing
2619         is already using a const_cast.
2620         * rendering/RenderBox.h:
2621         (RenderBox): Add const to method signatures.
2622
2623 2012-09-04  Dirk Schulze  <krit@webkit.org>
2624
2625         -webkit-clip-path does not apply origin for polygon()
2626         https://bugs.webkit.org/show_bug.cgi?id=95656
2627
2628         Reviewed by Tim Horton.
2629
2630         The polygon() shape function did not apply origin of bouding box on created path. The shape was
2631         not moved to the correct position.
2632
2633         Tests: svg/clip-path/clip-path-shape-polygon-relative-expected.svg
2634                svg/clip-path/clip-path-shape-polygon-relative.svg
2635
2636         * rendering/style/BasicShapes.cpp:
2637         (WebCore::BasicShapePolygon::path): Apply origin of bounding box.
2638
2639 2012-09-04  Adam Barth  <abarth@chromium.org>
2640
2641         Make chromium-linux build without WTF_DEPRECATED_STRING_OPERATORS
2642         https://bugs.webkit.org/show_bug.cgi?id=95798
2643
2644         Reviewed by Eric Seidel.
2645
2646         This patch makes the chromium-linux port build without
2647         WTF::String::operator+=.  There are a couple places that require some
2648         more careful study, and I've whitelisted those uses by defining
2649         WTF_DEPRECATED_STRING_OPERATORS at the top of the files. (See
2650         https://bugs.webkit.org/show_bug.cgi?id=95797 for an explanation of
2651         WTF_DEPRECATED_STRING_OPERATORS.)
2652
2653         * css/StylePropertySet.cpp:
2654         * inspector/InspectorOverlay.cpp:
2655         (WebCore::InspectorOverlay::drawNodeHighlight):
2656         * platform/graphics/filters/CustomFilterValidatedProgram.cpp:
2657         (WebCore::CustomFilterValidatedProgram::rewriteMixVertexShader):
2658
2659 2012-09-04  Tony Chang  <tony@chromium.org>
2660
2661         Use TrackedRendererListHashSet typedef for percentHeightDescendants()
2662         https://bugs.webkit.org/show_bug.cgi?id=95791
2663
2664         Reviewed by Ojan Vafai.
2665
2666         There were a couple callers that were using ListHashSet<RenderBox*> instead of the typedef.
2667
2668         No new tests, this is just a refactor.
2669
2670         * rendering/RenderTableSection.cpp:
2671         (WebCore::RenderTableSection::layoutRows):
2672         * rendering/RenderView.cpp:
2673         (WebCore::RenderView::setFixedPositionedObjectsNeedLayout):
2674
2675 2012-09-04  Alec Flett  <alecflett@chromium.org>
2676
2677         IndexedDB: remove final createIndex backend glue
2678         https://bugs.webkit.org/show_bug.cgi?id=95385
2679
2680         Reviewed by Adam Barth.
2681
2682         Remove all code that created index keys in the IndexedDB backend.
2683
2684         No new tests, this is just removal of dead code.
2685
2686         * Modules/indexeddb/IDBKeyPathBackendImpl.cpp: Removed.
2687         * Modules/indexeddb/IDBKeyPathBackendImpl.h: Removed.
2688         * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
2689         (WebCore):
2690         * WebCore.gyp/WebCore.gyp:
2691         * WebCore.gypi:
2692         * storage/chromium/IDBKeyPathBackendImpl.cpp: Removed.
2693
2694 2012-09-04  Sergey Glazunov  <serg.glazunov@gmail.com>
2695
2696         Frame element doesn't always unload its child frame.
2697         https://bugs.webkit.org/show_bug.cgi?id=94717
2698
2699         Reviewed by Hajime Morita.
2700
2701         It's possible for a frame element that has been removed from the document
2702         to retain an active child frame. This inconsistent state may become a source
2703         of security vulnerabilities.
2704
2705         The patch adds a global HashSet to store the nodes currently processed by
2706         ChildFrameDisconnector. Insertion into these nodes' subtrees is not allowed until
2707         the processing is complete.
2708
2709         Also, the ChildFrameDisconnector call in removeChild(ren) is now immediately
2710         followed by the actual removal.
2711
2712         Test: fast/frames/out-of-document-iframe-has-child-frame.html
2713
2714         * dom/ContainerNode.cpp:
2715         (WebCore::willRemoveChildren): Move the ChildFrameDisconnector call out of a loop.
2716         (WebCore::ContainerNode::removeChild): Rearrange some event firing code.
2717         (WebCore::ContainerNode::removeChildren): Ditto.
2718         * dom/ContainerNodeAlgorithms.cpp:
2719         (WebCore::ChildFrameDisconnector::collectDescendant): Pass a new parameter to collectDescendant(Node*).
2720         * dom/ContainerNodeAlgorithms.h:
2721         (WebCore::ChildFrameDisconnector::ChildFrameDisconnector):
2722         (ChildFrameDisconnector): Maintain a list of nodes that have an active ChildFrameDisconnector.
2723         (WebCore::ChildFrameDisconnector::~ChildFrameDisconnector):
2724         (WebCore::ChildFrameDisconnector::rootNodes):
2725         (WebCore::ChildFrameDisconnector::collectDescendant): Add ShouldIncludeRoot parameter.
2726         (WebCore::ChildFrameDisconnector::nodeHasDisconnector):
2727         (WebCore):
2728         * dom/Node.cpp:
2729         (WebCore::checkAcceptChild): Reject a parent node if it or one of its parents has an active ChildFrameDisconnector.
2730         * html/HTMLFrameElementBase.cpp:
2731         (WebCore::HTMLFrameElementBase::didNotifySubtreeInsertions): Check if an element is still in the document.
2732
2733 2012-09-03  Sam Weinig  <sam@webkit.org>
2734
2735         Part 1 of removing PlatformString.h, move remaining functions to new homes
2736         https://bugs.webkit.org/show_bug.cgi?id=95702
2737
2738         Reviewed by Beth Dakin.
2739
2740         Move utf8Buffer() to SharedBuffer.h/cpp
2741         Move numGraphemeClusters() and numCharactersInGraphemeClusters() to TextBreakIterator.h/cpp
2742
2743         * CMakeLists.txt:
2744         * GNUmakefile.list.am:
2745         * Target.pri:
2746         * WebCore.gypi:
2747         * WebCore.vcproj/WebCore.vcproj:
2748         * WebCore.xcodeproj/project.pbxproj:
2749         Update projects.
2750
2751         * platform/text/TextAllInOne.cpp:
2752         Add TextBreakIterator.cpp.
2753
2754         * editing/Editor.h:
2755         Forward declare SharedBuffer, now that PlatformString.h doesn't.
2756
2757         * html/InputType.cpp:
2758         #include TextBreakIterator.h.
2759
2760         * loader/appcache/ApplicationCacheStorage.h:
2761         Replace inclusion of PlatformString.h with WTFString.h and forward declare SharedBuffer.
2762
2763         * platform/LocalizedStrings.cpp:
2764         Replace inclusion of PlatformString.h with TextBreakIterator.h
2765  
2766         * platform/SharedBuffer.cpp:
2767         * platform/SharedBuffer.h:
2768         Move utf8Buffer() here.
2769
2770         * platform/text/PlatformString.h:
2771         Remove everything except the #include of WTFString.h.
2772
2773         * platform/text/TextBreakIterator.cpp: Renamed from Source/WebCore/platform/text/String.cpp.
2774         (WebCore::numGraphemeClusters):
2775         (WebCore::numCharactersInGraphemeClusters):
2776         * platform/text/TextBreakIterator.h:
2777         Move numGraphemeClusters() and numCharactersInGraphemeClusters() here. 
2778
2779 2012-09-04  Julien Chaffraix  <jchaffraix@webkit.org>
2780
2781         REGRESSION(r120832): RenderLayer::clampScrollOffset doesn't properly clamp
2782         https://bugs.webkit.org/show_bug.cgi?id=95776
2783
2784         Reviewed by Simon Fraser.
2785
2786         r120832 consolidated the clamping logic into RenderLayer::clampScrollOffset. The existing code wouldn't properly ensure that
2787         the offset were positive which got exposed to other code paths, leading to the regression.
2788
2789         Tested by ManualTests/select-menu-list-wrongly-positioned.html as I didn't find a way to create a reliable layout test.
2790
2791         * rendering/RenderLayer.cpp:
2792         (WebCore::RenderLayer::clampScrollOffset):
2793         Fixed the clamping logic to ensure that the scroll offset's dimensions are positive.
2794
2795 2012-09-04  Joshua Bell  <jsbell@chromium.org>
2796
2797         IndexedDB: IDBRequest leaks if IDBCursor closes and no further events fired
2798         https://bugs.webkit.org/show_bug.cgi?id=95777
2799
2800         Reviewed by Tony Chang.
2801
2802         IDBRequests are kept alive as long as they may fire events, which includes
2803         if the associated IDBCursor object can be advanced. When the transaction
2804         is finished the IDBCursor is notified which in turn tells the IDBRequest
2805         that the cursor won't be the source of more events. However, if this occurs
2806         and no further events fire the IDBRequest doesn't clear it's "has pending
2807         activity flag". Clear the flag on the notification if the request is
2808         otherwise complete.
2809
2810         No new tests - ActiveDOMObjects and leaks are persnickety.
2811
2812         * Modules/indexeddb/IDBRequest.cpp:
2813         (WebCore::IDBRequest::finishCursor):
2814
2815 2012-09-04  Max Vujovic  <mvujovic@adobe.com>
2816
2817         [CSS Shaders] Implement multiply, screen, darken, lighten, difference, exclusion blend modes.
2818         https://bugs.webkit.org/show_bug.cgi?id=93870
2819
2820         Reviewed by Dirk Schulze.
2821
2822         Add expressions for the aforementioned blend modes. The expressions are lifted directly
2823         from the CSS Compositing and Blending spec [1]. WebKit adds these blending expressions to
2824         the author's shader.
2825
2826         [1]: https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#blendingnormal
2827
2828         Test: css3/filters/custom/custom-filter-blend-modes.html
2829
2830         * platform/graphics/filters/CustomFilterValidatedProgram.cpp:
2831         (WebCore::CustomFilterValidatedProgram::blendFunctionString):
2832
2833 2012-09-04  Nikhil Bhargava  <nbhargava@google.com>
2834
2835         Fix style for Event.h
2836         https://bugs.webkit.org/show_bug.cgi?id=95779
2837
2838         Reviewed by Eric Seidel.
2839
2840         Changes indenting for Event.h to match style guidelines for namespaces
2841
2842         * dom/Event.h:
2843
2844 2012-09-04  Jeffrey Pfau  <jpfau@apple.com>
2845
2846         Make plugins respect third-party storage blocking setting
2847         https://bugs.webkit.org/show_bug.cgi?id=94888
2848
2849         Reviewed by Brady Eidson.
2850
2851         Added functions for discerning if a plugin should be able to access its storage in its current origin.
2852
2853         Tests: http/tests/security/cross-origin-plugin-allowed.html
2854                http/tests/security/cross-origin-plugin.html
2855
2856         * WebCore.exp.in: Export FrameTree::top and SecurityOrigin::canAccessStorage
2857         * page/SecurityOrigin.h: Added canAccessPluginStorage
2858         (WebCore::SecurityOrigin::canAccessPluginStorage):
2859
2860 2012-09-04  Robert Hogan  <robert@webkit.org>
2861
2862         Regression(r127163): Heap-use-after-free in WebCore::RenderBoxModelObject::hasSelfPaintingLayer
2863         https://bugs.webkit.org/show_bug.cgi?id=95632
2864
2865         Reviewed by Abhishek Arya.
2866
2867         Don't add floats to the floating object set of blocks that avoid floats. There's no point in doing that
2868         and they will never get cleared out during relayout.
2869
2870         Tests: fast/css/intruding-floats-crash.html
2871
2872         * rendering/RenderBlock.cpp:
2873         (WebCore::RenderBlock::clearFloatsIfNeeded):
2874
2875 2012-09-04  Michael Saboff  <msaboff@apple.com>
2876
2877         equal() in CSSParser.cpp should check the length of characters
2878         https://bugs.webkit.org/show_bug.cgi?id=95706
2879
2880         Reviewed by Abhishek Arya.
2881
2882         Pass the length of string literals to CSSParser static functions equal() and 
2883         equalIgnoringCase() so that checks won't access out of bounds memory.
2884
2885         Added test fast/css/crash-comparing-equal.html.
2886
2887         * css/CSSParser.cpp:
2888         (WebCore::equal): Use template to retrieve the length of string literal.
2889         (WebCore::equalIgnoringCase): Ditto.
2890         (WebCore::CSSParser::parseDashboardRegions): Use const char[] instead of const char*
2891
2892 2012-09-04  Antonio Gomes  <agomes@rim.com>
2893
2894         [BlackBerry] Use child/ScrollableContent layer's position instead of parent/ScrollLayer's boundsOrigin
2895         https://bugs.webkit.org/show_bug.cgi?id=95778
2896         PR #202252
2897
2898         Reviewed by Rob Buis.
2899         Internally reviewed by Arvid Nilsson.
2900
2901         Upstream has switch away from using the parent scroll layer's bounds origin
2902         in order to translate contents of all its child layers. Instead now, it directly
2903         sets the scroll position of the child scrollable contents layer.
2904
2905         No new tests, since it is a catch-up with upstreaming code.
2906
2907         Source/WebCore:
2908         * platform/graphics/blackberry/GraphicsLayerBlackBerry.cpp:
2909         (WebCore):
2910         * platform/graphics/blackberry/GraphicsLayerBlackBerry.h:
2911         (GraphicsLayerBlackBerry):
2912         * platform/graphics/blackberry/LayerCompositingThread.cpp:
2913         (WebCore::LayerCompositingThread::updateAnimations):
2914         * platform/graphics/blackberry/LayerCompositingThread.h:
2915         (WebCore::LayerOverride::LayerOverride):
2916         (LayerOverride):
2917         * platform/graphics/blackberry/LayerData.h:
2918         (LayerData):
2919         * platform/graphics/blackberry/LayerRenderer.cpp:
2920         (WebCore::LayerRenderer::updateLayersRecursive):
2921         * platform/graphics/blackberry/LayerWebKitThread.h:
2922         * rendering/RenderLayerBacking.cpp:
2923         (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
2924
2925 2012-09-04  Tommy Widenflycht  <tommyw@google.com>
2926
2927         MediaStream API: Add the async createOffer functionality to RTCPeerConnection
2928         https://bugs.webkit.org/show_bug.cgi?id=95734
2929
2930         Reviewed by Adam Barth.
2931
2932         createOffer sends a request to the platform implementer requesting it to gather up all candidates.
2933         This can take some time, therefore the request is async.
2934
2935         Test: fast/mediastream/RTCPeerConnection-createOffer.html
2936
2937         * CMakeLists.txt:
2938         * GNUmakefile.list.am:
2939         * Modules/mediastream/RTCErrorCallback.h: Copied from Source/WebCore/platform/mediastream/RTCSessionDescriptionDescriptor.h.
2940         (WebCore):
2941         (RTCErrorCallback):
2942         (WebCore::RTCErrorCallback::~RTCErrorCallback):
2943         * Modules/mediastream/RTCErrorCallback.idl: Copied from Source/WebCore/platform/mediastream/RTCSessionDescriptionDescriptor.h.
2944         * Modules/mediastream/RTCPeerConnection.cpp:
2945         (WebCore::RTCPeerConnection::createOffer):
2946         (WebCore):
2947         * Modules/mediastream/RTCPeerConnection.h:
2948         (WebCore):
2949         (RTCPeerConnection):
2950         * Modules/mediastream/RTCPeerConnection.idl:
2951         * Modules/mediastream/RTCSessionDescriptionCallback.h: Copied from Source/WebCore/platform/mediastream/RTCSessionDescriptionDescriptor.h.
2952         (WebCore):
2953         (RTCSessionDescriptionCallback):
2954         (WebCore::RTCSessionDescriptionCallback::~RTCSessionDescriptionCallback):
2955         * Modules/mediastream/RTCSessionDescriptionCallback.idl: Copied from Source/WebCore/platform/mediastream/RTCSessionDescriptionDescriptor.h.
2956         * Modules/mediastream/RTCSessionDescriptionRequestImpl.cpp: Added.
2957         (WebCore):
2958         (WebCore::RTCSessionDescriptionRequestImpl::create):
2959         (WebCore::RTCSessionDescriptionRequestImpl::RTCSessionDescriptionRequestImpl):
2960         (WebCore::RTCSessionDescriptionRequestImpl::~RTCSessionDescriptionRequestImpl):
2961         (WebCore::RTCSessionDescriptionRequestImpl::requestSucceeded):
2962         (WebCore::RTCSessionDescriptionRequestImpl::requestFailed):
2963         (WebCore::RTCSessionDescriptionRequestImpl::stop):
2964         (WebCore::RTCSessionDescriptionRequestImpl::clear):
2965         * Modules/mediastream/RTCSessionDescriptionRequestImpl.h: Copied from Source/WebCore/platform/mediastream/RTCSessionDescriptionDescriptor.h.
2966         (WebCore):
2967         (RTCSessionDescriptionRequestImpl):
2968         * WebCore.gypi:
2969         * platform/chromium/support/WebRTCSessionDescriptionDescriptor.cpp: Copied from Tools/DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h.
2970         (WebKit):
2971         (WebKit::WebRTCSessionDescriptionDescriptor::WebRTCSessionDescriptionDescriptor):
2972         (WebKit::WebRTCSessionDescriptionDescriptor::assign):
2973         (WebKit::WebRTCSessionDescriptionDescriptor::reset):
2974         (WebKit::WebRTCSessionDescriptionDescriptor::operator WTF::PassRefPtr<WebCore::RTCSessionDescriptionDescriptor>):
2975         (WebKit::WebRTCSessionDescriptionDescriptor::initialize):
2976         (WebKit::WebRTCSessionDescriptionDescriptor::type):
2977         (WebKit::WebRTCSessionDescriptionDescriptor::setType):
2978         (WebKit::WebRTCSessionDescriptionDescriptor::sdp):
2979         (WebKit::WebRTCSessionDescriptionDescriptor::setSDP):
2980         * platform/chromium/support/WebRTCSessionDescriptionRequest.cpp: Added.
2981         (WebKit):
2982         (WebKit::WebRTCSessionDescriptionRequest::WebRTCSessionDescriptionRequest):
2983         (WebKit::WebRTCSessionDescriptionRequest::assign):
2984         (WebKit::WebRTCSessionDescriptionRequest::reset):
2985         (WebKit::WebRTCSessionDescriptionRequest::requestSucceeded):
2986         (WebKit::WebRTCSessionDescriptionRequest::requestFailed):
2987         (ExtraDataContainer):
2988         (WebKit::ExtraDataContainer::ExtraDataContainer):
2989         (WebKit::ExtraDataContainer::extraData):
2990         (WebKit::WebRTCSessionDescriptionRequest::extraData):
2991         (WebKit::WebRTCSessionDescriptionRequest::setExtraData):
2992         * platform/mediastream/RTCPeerConnectionHandler.cpp:
2993         (RTCPeerConnectionHandlerDummy):
2994         (WebCore::RTCPeerConnectionHandlerDummy::createOffer):
2995         (WebCore):
2996         * platform/mediastream/RTCPeerConnectionHandler.h:
2997         (WebCore):
2998         (RTCPeerConnectionHandler):
2999         * platform/mediastream/RTCSessionDescriptionDescriptor.h:
3000         (WebCore::RTCSessionDescriptionDescriptor::type):
3001         (WebCore::RTCSessionDescriptionDescriptor::sdp):
3002         * platform/mediastream/RTCSessionDescriptionRequest.h: Copied from Source/WebCore/platform/mediastream/RTCSessionDescriptionDescriptor.h.
3003         (WebCore):
3004         (RTCSessionDescriptionRequest):
3005         (ExtraData):
3006         (WebCore::RTCSessionDescriptionRequest::ExtraData::~ExtraData):
3007         (WebCore::RTCSessionDescriptionRequest::~RTCSessionDescriptionRequest):
3008         (WebCore::RTCSessionDescriptionRequest::extraData):
3009         (WebCore::RTCSessionDescriptionRequest::setExtraData):
3010         (WebCore::RTCSessionDescriptionRequest::RTCSessionDescriptionRequest):
3011         * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
3012         (WebCore::RTCPeerConnectionHandlerChromium::createOffer):
3013         (WebCore):
3014         * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
3015         (RTCPeerConnectionHandlerChromium):
3016
3017 2012-09-04  Dan Bernstein  <mitz@apple.com>
3018
3019         Reverted r127468 (the fix for <http://webkit.org/b/93443>) because the test it included caused
3020         an assertion failure in Document::updateStyleIfNeeded().
3021
3022         * dom/NamedFlowCollection.cpp:
3023         (WebCore::NamedFlowCollection::ensureFlowWithName):
3024         (WebCore::NamedFlowCollection::discardNamedFlow):
3025         * inspector/Inspector.json:
3026         * inspector/InspectorCSSAgent.cpp:
3027         (WebCore::InspectorCSSAgent::didCreateNamedFlow):
3028         (WebCore::InspectorCSSAgent::didRemoveNamedFlow):
3029         (WebCore::InspectorCSSAgent::getNamedFlowCollection):
3030         (WebCore::InspectorCSSAgent::getFlowByName):
3031         (WebCore):
3032         * inspector/InspectorCSSAgent.h:
3033         (InspectorCSSAgent):
3034         * inspector/InspectorInstrumentation.cpp:
3035         (WebCore):
3036         (WebCore::InspectorInstrumentation::didCreateNamedFlowImpl):
3037         (WebCore::InspectorInstrumentation::didRemoveNamedFlowImpl):
3038         * inspector/InspectorInstrumentation.h:
3039         (InspectorInstrumentation):
3040         (WebCore::InspectorInstrumentation::didCreateNamedFlow):
3041         (WebCore::InspectorInstrumentation::didRemoveNamedFlow):
3042         * inspector/front-end/CSSStyleModel.js:
3043         (WebInspector.CSSStyleModel):
3044         (WebInspector.CSSStyleModel.prototype.getNamedFlowCollectionAsync):
3045         (WebInspector.CSSStyleModel.prototype.getFlowByNameAsync):
3046         (WebInspector.CSSStyleModel.prototype._namedFlowCreated.callback):
3047         (WebInspector.CSSStyleModel.prototype._namedFlowCreated):
3048         (WebInspector.CSSStyleModel.prototype._namedFlowRemoved.callback):
3049         (WebInspector.CSSStyleModel.prototype._namedFlowRemoved):
3050         (WebInspector.CSSDispatcher.prototype.namedFlowCreated):
3051         (WebInspector.CSSDispatcher.prototype.namedFlowRemoved):
3052         (WebInspector.NamedFlow):
3053         (WebInspector.NamedFlow.parsePayloadArray):
3054         * rendering/RenderNamedFlowThread.cpp:
3055         (WebCore::RenderNamedFlowThread::dispatchRegionLayoutUpdateEvent):
3056
3057 2012-09-04  Simon Fraser  <simon.fraser@apple.com>
3058
3059         Regression: Heap-use-after-free in WebCore::FrameView::scrollContentsFastPath
3060         https://bugs.webkit.org/show_bug.cgi?id=95754
3061
3062         Reviewed by Dave Hyatt.
3063
3064         It's possible to have a renderer with position:fixed or sticky style,
3065         but no layer, for example a RenderScrollBarPart. Don't register such
3066         renderers with the FrameView.
3067         
3068         Moved the code that registers/unregisters with the FrameView from
3069         styleWillChange() to styleDidChange(), since in the latter case
3070         we can check if we have a RenderLayer. Only register renderers with layers.
3071         We always unregister, which required removing an assertion in
3072         FrameView::removeFixedObject(), and replacing it with a null check of m_fixedObjects.
3073
3074         Test: fast/css/remove-fixed-resizer-crash.html
3075
3076         * page/FrameView.cpp:
3077         (WebCore::FrameView::removeFixedObject):
3078         * rendering/RenderBoxModelObject.cpp:
3079         (WebCore::RenderBoxModelObject::styleWillChange):
3080         (WebCore::RenderBoxModelObject::styleDidChange):
3081
3082 2012-09-04  Dominik Röttsches  <dominik.rottsches@intel.com>
3083
3084         ResourceErrorBase needs to identify timeouts
3085         https://bugs.webkit.org/show_bug.cgi?id=95755
3086
3087         Reviewed by Alexey Proskuryakov.
3088
3089         Adding a property to check whether this ResourceError was raised due to a timeout.
3090         This is preparatory work for bug 74802. In order to implement XHR2 timeout functionality,
3091         I need to identify some layers up whether the original network problem has been a timeout.
3092
3093         No new tests, no change in behavior yet.
3094
3095         * platform/network/ResourceErrorBase.cpp:
3096         (WebCore::ResourceErrorBase::copy): Copying new member.
3097         (WebCore::ResourceErrorBase::compare): Comparing new member.
3098         * platform/network/ResourceErrorBase.h:
3099         (WebCore::ResourceErrorBase::setIsTimeout): New setter.
3100         (WebCore::ResourceErrorBase::isTimeout): New getter.
3101         (ResourceErrorBase),
3102         (WebCore::ResourceErrorBase::ResourceErrorBase): Adding m_isTimeout member.
3103
3104 2012-09-04  Tommy Widenflycht  <tommyw@google.com>
3105
3106         MediaStream API: Change the MediaStreamTrackList track added/removed signaling
3107         https://bugs.webkit.org/show_bug.cgi?id=95721
3108
3109         Reviewed by Adam Barth.
3110
3111         This allows the platform implementor to throw an NOT_SUPPORTED_ERR exception if it doesn support these methods.
3112
3113         Patch covered by expanded existing test.
3114
3115         * Modules/mediastream/MediaStreamTrackList.cpp:
3116         (WebCore::MediaStreamTrackList::add):
3117         (WebCore::MediaStreamTrackList::remove):
3118         * platform/mediastream/MediaStreamCenter.h:
3119         (MediaStreamCenter):
3120         * platform/mediastream/blackberry/MediaStreamCenterBlackBerry.cpp:
3121         (WebCore::MediaStreamCenterBlackBerry::didAddMediaStreamTrack):
3122         (WebCore):
3123         (WebCore::MediaStreamCenterBlackBerry::didRemoveMediaStreamTrack):
3124         * platform/mediastream/blackberry/MediaStreamCenterBlackBerry.h:
3125         (MediaStreamCenterBlackBerry):
3126         * platform/mediastream/chromium/MediaStreamCenterChromium.cpp:
3127         (WebCore::MediaStreamCenterChromium::didAddMediaStreamTrack):
3128         (WebCore::MediaStreamCenterChromium::didRemoveMediaStreamTrack):
3129         * platform/mediastream/chromium/MediaStreamCenterChromium.h:
3130         (MediaStreamCenterChromium):
3131         * platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp:
3132         (WebCore::MediaStreamCenterGStreamer::didAddMediaStreamTrack):
3133         (WebCore::MediaStreamCenterGStreamer::didRemoveMediaStreamTrack):
3134         * platform/mediastream/gstreamer/MediaStreamCenterGStreamer.h:
3135         (MediaStreamCenterGStreamer):
3136
3137 2012-09-04  Joanmarie Diggs  <jdiggs@igalia.com>
3138
3139         [GTK] Crash in AccessibilityObject::accessibilityPlatformIncludesObject()
3140         https://bugs.webkit.org/show_bug.cgi?id=95740
3141
3142         Reviewed by Martin Robinson.
3143
3144         Added sanity check to be sure we have a render object prior to seeing if
3145         said object is an anonymous block.
3146
3147         Testing via unit test because a non-flaky layout test crasher could not
3148         be found.
3149
3150         * accessibility/gtk/AccessibilityObjectAtk.cpp:
3151         (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
3152         Sanity check for render object added.
3153
3154 2012-09-04  Christophe Dumez  <christophe.dumez@intel.com>
3155
3156         Automatic features should work in sandboxed iframes if "allow-scripts" flag is set
3157         https://bugs.webkit.org/show_bug.cgi?id=93961
3158
3159         Reviewed by Adam Barth.
3160
3161         Allow automatic features (video autoplay and form control
3162         autofocus) in a sandboxed iframe that has "allow-scripts"
3163         flag set. This behavior is according to the latest
3164         specification at:
3165         http://dev.w3.org/html5/spec/browsers.html#attr-iframe-sandbox-allow-same-origin
3166
3167         This sandboxed automatic features browsing context flag is
3168         relaxed by the same keyword as scripts, because when
3169         scripts are enabled these features are trivially possible
3170         anyway, and it would be unfortunate to force authors to
3171         use script to do them when sandboxed rather than allowing
3172         them to use the declarative features.
3173
3174         Tests: fast/forms/autofocus-in-sandbox-with-allow-scripts.html
3175                media/auto-play-in-sandbox-with-allow-scripts.html
3176
3177         * dom/SecurityContext.cpp:
3178         (WebCore::SecurityContext::parseSandboxPolicy):
3179
3180 2012-09-04  Sami Kyostila  <skyostil@google.com>
3181
3182         Register scrolling layers with ScrollingCoordinator
3183         https://bugs.webkit.org/show_bug.cgi?id=78862
3184
3185         Reviewed by James Robinson.
3186
3187         In order to allow scrollable child layers to be scrolled off the main
3188         thread, register them with the ScrollingCoordinator. These layers are
3189         also removed from the non-fast scrollable region.
3190
3191         Whenever the scroll offset or other scroll geometry related attribute of
3192         a compositor scrolled layer changes, the ScrollingCoordinator is
3193         informed to allow it to update its internal representation of the
3194         scrollable layer.
3195
3196         No tests because the ScrollingCoordinator is currently not testable.
3197
3198         * page/scrolling/ScrollingCoordinator.cpp:
3199         (WebCore::computeNonFastScrollableRegion): Composited scrolling layers
3200         can be scrolled off the main thread.
3201         (WebCore):
3202         (WebCore::ScrollingCoordinator::scrollableAreaScrollLayerDidChange):
3203         Callback to ScrollingCoordinator about changes the composited scrolling layers.
3204         * page/scrolling/ScrollingCoordinator.h:
3205         (WebCore):
3206         (ScrollingCoordinator):
3207         * page/scrolling/ScrollingCoordinatorNone.cpp:
3208         (WebCore):
3209         (WebCore::ScrollingCoordinator::scrollableAreaScrollLayerDidChange):
3210         * platform/ScrollableArea.h:
3211         (WebCore::ScrollableArea::usesCompositedScrolling):
3212         * rendering/RenderLayer.cpp:
3213         (WebCore):
3214         (WebCore::RenderLayer::usesCompositedScrolling):
3215         * rendering/RenderLayer.h:
3216         (RenderLayer):
3217         (WebCore::RenderLayer::usesCompositedScrolling):
3218         * rendering/RenderLayerBacking.cpp:
3219         (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
3220         (WebCore::RenderLayerBacking::updateScrollingLayers):
3221         * rendering/RenderLayerCompositor.cpp:
3222         (WebCore::RenderLayerCompositor::scrollingLayerDidChange):
3223         (WebCore):
3224         * rendering/RenderLayerCompositor.h:
3225         (RenderLayerCompositor):
3226
3227 2012-09-04  Brian Anderson  <brianderson@chromium.org>
3228
3229         [chromium] Do not allow infinite pending frames in CCFrameRateController
3230         https://bugs.webkit.org/show_bug.cgi?id=94254
3231
3232         Reviewed by James Robinson.
3233
3234         Removes support for infinite pending frames in CCFrameRateController
3235         if swap acks are available.        
3236
3237         Functionality covered by existing tests.
3238
3239         * platform/graphics/chromium/cc/CCFrameRateController.cpp:
3240         (WebCore::CCFrameRateController::CCFrameRateController):
3241         (WebCore::CCFrameRateController::setMaxFramesPending):
3242         (WebCore::CCFrameRateController::setSwapBuffersCompleteSupported):
3243         (WebCore):
3244         (WebCore::CCFrameRateController::onTimerTick):
3245         (WebCore::CCFrameRateController::didBeginFrame):
3246         (WebCore::CCFrameRateController::didFinishFrame):
3247         * platform/graphics/chromium/cc/CCFrameRateController.h:
3248         (CCFrameRateController):
3249         * platform/graphics/chromium/cc/CCScheduler.cpp:
3250         (WebCore::CCScheduler::setSwapBuffersCompleteSupported):
3251         (WebCore):
3252         * platform/graphics/chromium/cc/CCScheduler.h:
3253         (CCScheduler):
3254         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
3255         (WebCore::CCThreadProxy::initializeRendererOnImplThread):
3256
3257 2012-09-04  Tim Horton  <timothy_horton@apple.com>
3258
3259         ASSERTion failure when SVG element is removed from document and readded
3260         https://bugs.webkit.org/show_bug.cgi?id=95517
3261         <rdar://problem/12175583>
3262
3263         Reviewed by Brady Eidson.
3264
3265         Previously, SVG animations would cease to animate when their parent
3266         <svg> element was removed and re-added to the document.
3267
3268         Instead, to match Firefox and Opera, we should continue the animation
3269         with the same beginTime (i.e. the animation continues as if it had never
3270         been removed from the document).
3271
3272         Test: svg/animations/reinserting-svg-into-document.html
3273
3274         * svg/SVGSVGElement.cpp:
3275         (WebCore::SVGSVGElement::insertedInto): Don't call begin() on an already-started SMILTimeContainer().
3276         * svg/animation/SMILTimeContainer.cpp: 
3277         (WebCore::SMILTimeContainer::isStarted): Added.
3278         * svg/animation/SMILTimeContainer.h: Add isStarted().
3279         * svg/animation/SVGSMILElement.cpp:
3280         (WebCore::SVGSMILElement::insertedInto): Always reschedule SVGSMILElements with
3281         their parent SMILTimeContainer when they are inserted into the document, otherwise
3282         they are lost (and never again update) when their subtree is removed and then
3283         readded to the document.
3284
3285 2012-09-04  Andrei Bucur  <abucur@adobe.com>
3286
3287         [CSS Regions] Destroying a render named flow thread without unregistering left-over content nodes triggered an assertion.
3288         https://bugs.webkit.org/show_bug.cgi?id=95645
3289
3290         Reviewed by Abhishek Arya.
3291
3292         This patch cleans up the render named flow thread before destruction by unregistering left-over content nodes.
3293
3294         Tests: fast/regions/moved-content-node-crash.html
3295
3296         * rendering/RenderNamedFlowThread.cpp:
3297         (WebCore::RenderNamedFlowThread::~RenderNamedFlowThread):
3298
3299 2012-09-04  Koji Ishii  <kojiishi@gmail.com>
3300
3301         [chromium] OpenTypeVerticalData.cpp in both webcore_remaining and webcore_platform seems to break incremental linking on Windows Chromium
3302         https://bugs.webkit.org/show_bug.cgi?id=95744
3303
3304         Patch by Koji Ishii <kojiishi@gmail.com> on 2012-09-04
3305         Unreviewed build fix, verified by Scott Graham.
3306
3307         The addition of 'platform/graphics/opentype/*' to webcore_platform in WebCore.gyp was redundant
3308         because '/opentype/' was already included to webcore_remaining.
3309         It was not only redundant but also breaks incremental linking.
3310
3311         No new tests are required because no behavior changes.
3312
3313         * WebCore.gyp/WebCore.gyp: Removed platform/graphics/opentype/* from webcore_platform.
3314
3315 2012-09-04  Otto Derek Cheung  <otcheung@rim.com>
3316
3317         [BlackBerry] Browser is not sending secured Cookie back to server over HTTPS connection
3318         https://bugs.webkit.org/show_bug.cgi?id=95747
3319
3320         PR199729
3321
3322         Reviewed by Rob Buis.
3323         Internally Reviewed by Joe Mason.
3324
3325         If the browser has never saved a secure protocol cookie in its mapping before,
3326         and it tries to set and retreive a secure cookie over a non-secure
3327         protocol, it will not show up because the link between the secure and
3328         non-secure mapping isn't created until a cookie (sent through secure) is set.
3329
3330         The fix is to also check for the linkage in getRawCookies. Note that we cannot
3331         map the secure CookieMap to the non-secure one because getRawCookies is a const
3332         function.
3333
3334         Manually tested using our Browser Test suite.
3335
3336         * platform/blackberry/CookieManager.cpp:
3337         (WebCore::CookieManager::getRawCookies):
3338
3339 2012-09-04  Philippe Normand  <pnormand@igalia.com>
3340
3341         [GStreamer] 0.11 build breaks due to rename of gst_message_new_duration
3342         https://bugs.webkit.org/show_bug.cgi?id=95751
3343
3344         Reviewed by Martin Robinson.
3345
3346         In gstreamer commit f712a9596c2bc1863edf9b816d9854eefca9ba45
3347         gst_message_new_duration was renamed to
3348         gst_message_new_duration_changed.
3349
3350         However the only place where we used this is in the HTTP source
3351         element and only if appsrc < 0.10.27 is used at runtime. In the
3352         case of GStreamer 1.0 this condition will be always false so we
3353         can disable this code at build time.
3354
3355         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
3356         (StreamingClient::didReceiveResponse):
3357
3358 2012-09-04  Andrei Poenaru  <poenaru@adobe.com>
3359
3360         Web Inspector: Protocol Extension: Add "regionLayoutUpdate" event
3361         https://bugs.webkit.org/show_bug.cgi?id=93443
3362
3363         Reviewed by Pavel Feldman.
3364
3365         Added "regionLayoutUpdate" event to the protocol.
3366
3367         Removed "getFlowByName" from protocol.
3368
3369         The front-end keeps in sync the requested Named Flow Collections.
3370
3371         Modified existing test: inspector/styles/protocol-css-regions-commands.html
3372
3373         * dom/NamedFlowCollection.cpp:
3374         (WebCore::NamedFlowCollection::ensureFlowWithName):
3375         (WebCore::NamedFlowCollection::discardNamedFlow):
3376         * inspector/Inspector.json:
3377         * inspector/InspectorCSSAgent.cpp:
3378         (WebCore::InspectorCSSAgent::didCreateNamedFlow):
3379         (WebCore::InspectorCSSAgent::willRemoveNamedFlow):
3380         (WebCore):
3381         (WebCore::InspectorCSSAgent::didUpdateRegionLayout):
3382         (WebCore::InspectorCSSAgent::getNamedFlowCollection):
3383         (WebCore::InspectorCSSAgent::documentNodeWithRequestedFlowsId):
3384         * inspector/InspectorCSSAgent.h:
3385         (InspectorCSSAgent):
3386         * inspector/InspectorInstrumentation.cpp:
3387         (WebCore):
3388         (WebCore::InspectorInstrumentation::didCreateNamedFlowImpl):
3389         (WebCore::InspectorInstrumentation::willRemoveNamedFlowImpl):
3390         (WebCore::InspectorInstrumentation::didUpdateRegionLayoutImpl):
3391         * inspector/InspectorInstrumentation.h:
3392         (InspectorInstrumentation):
3393         (WebCore::InspectorInstrumentation::didCreateNamedFlow):
3394         (WebCore::InspectorInstrumentation::willRemoveNamedFlow):
3395         (WebCore):
3396         (WebCore::InspectorInstrumentation::didUpdateRegionLayout):
3397         * inspector/front-end/CSSStyleModel.js:
3398         (WebInspector.CSSStyleModel):
3399         (WebInspector.CSSStyleModel.prototype.getNamedFlowCollectionAsync.callback):
3400         (WebInspector.CSSStyleModel.prototype.getNamedFlowCollectionAsync):
3401         (WebInspector.CSSStyleModel.prototype.getFlowByNameAsync.callback):
3402         (WebInspector.CSSStyleModel.prototype.getFlowByNameAsync):
3403         (WebInspector.CSSStyleModel.prototype._namedFlowCreated):
3404         (WebInspector.CSSStyleModel.prototype._namedFlowRemoved):
3405         (WebInspector.CSSStyleModel.prototype._regionLayoutUpdated):
3406         (WebInspector.CSSStyleModel.prototype._resetNamedFlowCollections):
3407         (WebInspector.CSSDispatcher.prototype.namedFlowCreated):
3408         (WebInspector.CSSDispatcher.prototype.namedFlowRemoved):
3409         (WebInspector.CSSDispatcher.prototype.regionLayoutUpdated):
3410         (WebInspector.NamedFlow):
3411         (WebInspector.NamedFlowCollection):
3412         (WebInspector.NamedFlowCollection.prototype.appendNamedFlow):
3413         (WebInspector.NamedFlowCollection.prototype.removeNamedFlow):
3414         (WebInspector.NamedFlowCollection.prototype.flowByName):
3415         * rendering/RenderNamedFlowThread.cpp:
3416         (WebCore::RenderNamedFlowThread::dispatchRegionLayoutUpdateEvent):
3417
3418 2012-09-04  Jonathan Liu  <net147@gmail.com>
3419
3420         Fix IDL dependency generation correctly
3421         https://bugs.webkit.org/show_bug.cgi?id=95730
3422
3423         Reviewed by Csaba Osztrogonác.
3424
3425         IDL dependency generation is still not working after
3426         https://bugs.webkit.org/show_bug.cgi?id=88304. This is because spaces
3427         added after the filename in an echo command end up being added to the
3428         file which isn't handled correctly by preprocess-idls.pl. The problem
3429         is fixed by removing the space after the filename.
3430
3431         * DerivedSources.pri:
3432
3433 2012-09-04  Mario Sanchez Prada  <msanchez@igalia.com>
3434
3435         [Stable] [GTK] Crash in WebCore::HTMLSelectElement::selectedIndex
3436         https://bugs.webkit.org/show_bug.cgi?id=95618
3437
3438         Reviewed by Martin Robinson.
3439
3440         Make sure we only emit the the signal for menu lists and list
3441         boxes rendered from actual HTML select elements.
3442
3443         * accessibility/gtk/AXObjectCacheAtk.cpp:
3444         (WebCore::notifyChildrenSelectionChange): We support accessibility
3445         ListBoxes and MenuLists only here, assuming they represent HTML
3446         select elements, which might be not always true (e.g. ARIA). Thus,
3447         check if that condition is true, early returning in other case.
3448
3449 2012-09-04  Martin Robinson  <mrobinson@igalia.com>
3450
3451         [Cairo] [TextureMapper] Assertion failure in TextureMapperGL
3452         https://bugs.webkit.org/show_bug.cgi?id=95713
3453
3454         Reviewed by Noam Rosenthal.
3455
3456         Fix an assertion failure by returning a valid context always for GraphicsContext3D::platformContext.
3457         This is important because TextureMapperGL uses the platform context to perform hashing.
3458
3459         No new tests. This is covered by existing accelerated compositing tests.
3460
3461         * platform/graphics/cairo/GraphicsContext3DPrivate.cpp:
3462         (WebCore::GraphicsContext3DPrivate::platformContext): Return the current GLContext
3463         when getting the platform context for private GraphicsContext3DPrivates that render
3464         to the currently active context.
3465
3466 2012-09-04  Alexander Shalamov  <alexander.shalamov@intel.com>
3467
3468         [EFL] Check if ecore_x is initialised before calling ecore_x_bell to avoid crash
3469         https://bugs.webkit.org/show_bug.cgi?id=86961
3470
3471         Reviewed by Kenneth Rohde Christiansen.
3472
3473         Add ecore_x initialisation check before calling ecore_x_bell
3474         to avoid crashes when X server is not running.