Windows build fix attempt after r124092.

* MiniBrowser/win/BrowserView.cpp:
(BrowserView::create):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Enable web audio IPP for x86 chromium android
https://bugs.webkit.org/show_bug.cgi?id=91973

Patch by Wei James <james.wei@intel.com> on 2012-07-30
Reviewed by Tony Chang.

Include the IPP libraries at link-time for Android builds when
compiling the Web Audio API with IPP support.

* WebCore.gyp/WebCore.gyp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Qt Windows build fix attempt after r124098.

* dom/GestureEvent.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Node::replaceChild() can create bad DOM topology with MutationEvent
https://bugs.webkit.org/show_bug.cgi?id=92619

Reviewed by Ryosuke Niwa.

Source/WebCore:

Node::replaceChild() calls insertBeforeCommon() after dispatching
a MutationEvent event for removeChild(). But insertBeforeCommon()
expects call sites to check the invariant and doesn't have
suffient check. So a MutationEvent handler can let some bad tree
topology to slip into insertBeforeCommon().

This change adds a guard for checking the invariant using
checkReplaceChild() between removeChild() and insertBeforeCommon().

Test: fast/events/mutation-during-replace-child.html

* dom/ContainerNode.cpp:
(WebCore::ContainerNode::replaceChild): Added a guard.

LayoutTests:

* fast/events/mutation-during-replace-child-expected.txt: Added.
* fast/events/mutation-during-replace-child.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make QuotesData use a Vector of pairs
https://bugs.webkit.org/show_bug.cgi?id=92448

Patch by Elliott Sprehn <esprehn@gmail.com> on 2012-07-30
Reviewed by Julien Chaffraix.

Source/WebCore:

QuotesData::create returned an array of memory that contained in place instantiations
of a QuotesData and then String instances. This changes the code to use a Vector of
pairs making it safer and ensuring that quotes are always balanced. This also uses a
HashMap directly in the QuoteRenderer instead of building it on first access reducing
the amount of code needed for picking quotes by language.

Test: fast/css-generated-content/close-quote-negative-depth.html

* css/StyleResolver.cpp:
(WebCore::StyleResolver::collectMatchingRulesForList): Create pairs and use the new QuotesData API.
* rendering/RenderQuote.cpp:
(WebCore):
(WebCore::quotesDataLanguageMap): New function that returns the HashMap of languages.
(WebCore::basicQuotesData): Returns the simple form of quotes, " and '.
(WebCore::defaultQuotes): Changed to use the new map.
(WebCore::RenderQuote::styleDidChange):
(WebCore::RenderQuote::originalText): Changed to use the new getOpenQuote and getCloseQuote which ensure bounds checks.
* rendering/style/QuotesData.cpp:
(WebCore::QuotesData::create): Now returns a plain instance of QuotesData without the in place allocation.
(WebCore):
(WebCore::QuotesData::addPair): Adds an std::pair of strings ensuring quotes are always balanced.
(WebCore::QuotesData::getOpenQuote):
(WebCore::QuotesData::getCloseQuote):
(WebCore::QuotesData::equals): Renamed equals (added the s).
* rendering/style/QuotesData.h:
(WebCore::QuotesData::create):
(QuotesData):
(WebCore::QuotesData::QuotesData):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::setQuotes):
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::operator==):

LayoutTests:

Test that when quote depths go negative we do not output quotes. The expected result
is wrong right now because we output quotes in this case when we should not.

* fast/css-generated-content/close-quote-negative-depth-expected.html: Added.
* fast/css-generated-content/close-quote-negative-depth.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
chromium win compile broken after removing webkit.py
https://bugs.webkit.org/show_bug.cgi?id=92549

Reviewed by Ryosuke Niwa.

Remove the stub file for webkit.py now that it's no longer
necessary.

* Scripts/webkitpy/layout_tests/port/webkit.py: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Another Qt build fix attempt after r124098.
"interface" is a keyword. Don't use it. 

* dom/GestureEvent.cpp:
(WebCore::GestureEvent::interfaceName):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Wrap ScrollbarLayerChromium in WebScrollbarLayer
https://bugs.webkit.org/show_bug.cgi?id=91032

Reviewed by James Robinson.

Source/Platform:

Add WebScrollbarLayer class to the Platform API.

* Platform.gypi:
* chromium/public/WebScrollbarLayer.h: Added.
(WebCore):
(WebKit):
(WebScrollbarLayer):
(WebKit::WebScrollbarLayer::WebScrollbarLayer):
(WebKit::WebScrollbarLayer::~WebScrollbarLayer):
(WebKit::WebScrollbarLayer::operator=):

Source/WebCore:

Modify ScrollingCoordinatorChromium to operate on WebScrollbarLayer
instead of ScrollbarLayerChromium. This removes the dependency on
ScrollbarLayerChromium.

No change in functionality, so no new tests.

* page/scrolling/chromium/ScrollingCoordinatorChromium.cpp:
(WebCore::ScrollingCoordinatorPrivate::setScrollLayer):
(WebCore::ScrollingCoordinatorPrivate::setHorizontalScrollbarLayer):
(WebCore::ScrollingCoordinatorPrivate::setVerticalScrollbarLayer):
(ScrollingCoordinatorPrivate):
(WebCore::createScrollbarLayer):

Source/WebKit/chromium:

Add implementation of WebScrollbarLayer to the client API.

* WebKit.gyp:
* src/WebScrollbarLayer.cpp: Added.
(WebKit):
(WebKit::WebScrollbarLayer::setScrollLayer):
(WebKit::WebScrollbarLayer::create):
(WebKit::WebScrollbarLayer::WebScrollbarLayer):
(WebKit::WebScrollbarLayer::operator=):
(WebKit::WebScrollbarLayer::operator PassRefPtr<ScrollbarLayerChromium>):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
fillWithEmptyClients method should also initialize chromeClient with EmptyChromeClient
https://bugs.webkit.org/show_bug.cgi?id=92703

Patch by Vivek Galatage <vivekgalatage@gmail.com> on 2012-07-30
Reviewed by Kent Tamura.

fillWithEmptyClients should also intialize PageClients.chromeClient with EmptyChromeClient
as its required for creating a Empty page and to minimize the exported symbols.

No new tests as no change in functionality.

* loader/EmptyClients.cpp:
(WebCore::fillWithEmptyClients):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rename WebKit2.h to WebKit2_C.h
https://bugs.webkit.org/show_bug.cgi?id=92704

Reviewed by Dan Bernstein.

Source/WebKit2:

* GNUmakefile.list.am:
* Target.pri:
* UIProcess/API/C/WebKit2_C.h: Renamed from Source/WebKit2/UIProcess/API/C/WebKit2.h.
* UIProcess/API/gtk/WebKitBackForwardListPrivate.h:
* UIProcess/API/gtk/WebKitPolicyDecisionPrivate.h:
* UIProcess/API/gtk/WebKitPrivate.h:
* UIProcess/API/gtk/WebKitSettingsPrivate.h:
* UIProcess/API/gtk/WebKitWebViewPrivate.h:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
* win/WebKit2Generated.make:
Update for changed header file name.

Tools:

* MiniBrowser/mac/MiniBrowser_Prefix.pch:
* MiniBrowser/win/BrowserView.h:
* TestWebKitAPI/config.h:
* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
* WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
* WebKitTestRunner/WebKitTestRunnerPrefix.h:
* WebKitTestRunner/config.h:
Update for changed header file name.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed.  Rolled DEPS.

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-30

* DEPS:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revert r124153 and land the "right" build fix per ap's comment on the bug 92676.

* MiniBrowser/win/BrowserView.cpp:
(BrowserView::create):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124165 268f45cc-cd09-0410-ab3c-d52691b4dbfc