[Chromium] Textures drawn during occlusion are incorrectly re-used when unoccluded.
https://bugs.webkit.org/show_bug.cgi?id=91537

Patch by Zeev Lieber <zlieber@chromium.org> on 2012-07-19
Reviewed by Adrienne Walker.

Source/WebCore:

Detecting if any external occlusion occurs when drawing a
texture. If external occlusion happens, the texture is marked as
"incomplete" in LayerRendererChromium, and is not being considered
for re-use.

Minor refactoring of CCQuadCuller - extracted interface
(CCQuadSink) and united append() and appendSurface() methods.

Added unit tests to verify this fix; also added test to try
clipping instead of occlusion.

* platform/graphics/chromium/LayerRendererChromium.cpp:
(LayerRendererChromium::CachedTexture):
(WebCore::LayerRendererChromium::CachedTexture::create):
(WebCore::LayerRendererChromium::CachedTexture::~CachedTexture):
(WebCore::LayerRendererChromium::CachedTexture::isComplete):
(WebCore::LayerRendererChromium::CachedTexture::setIsComplete):
(WebCore::LayerRendererChromium::CachedTexture::CachedTexture):
(WebCore):
(WebCore::LayerRendererChromium::decideRenderPassAllocationsForFrame):
(WebCore::LayerRendererChromium::haveCachedResourcesForRenderPassId):
(WebCore::LayerRendererChromium::drawRenderPassQuad):
* platform/graphics/chromium/LayerRendererChromium.h:
(LayerRendererChromium):
* platform/graphics/chromium/cc/CCIOSurfaceLayerImpl.cpp:
(WebCore::CCIOSurfaceLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCIOSurfaceLayerImpl.h:
(CCIOSurfaceLayerImpl):
* platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::CCLayerImpl::appendDebugBorderQuad):
* platform/graphics/chromium/cc/CCLayerImpl.h:
(WebCore):
(WebCore::CCLayerImpl::appendQuads):
(CCLayerImpl):
* platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
(WebCore::::unoccludedContentRect):
(WebCore::::unoccludedContributingSurfaceContentRect):
(WebCore):
* platform/graphics/chromium/cc/CCOcclusionTracker.h:
(CCOcclusionTrackerBase):
* platform/graphics/chromium/cc/CCQuadCuller.cpp:
(WebCore::CCQuadCuller::CCQuadCuller):
(WebCore::CCQuadCuller::append):
* platform/graphics/chromium/cc/CCQuadCuller.h:
(WebCore):
(CCQuadCuller):
(WebCore::CCQuadCuller::~CCQuadCuller):
(WebCore::CCQuadCuller::hasExternalOcclusion):
* platform/graphics/chromium/cc/CCQuadSink.h:
(WebKit):
(WebCore):
(CCQuadSink):
(WebCore::CCQuadSink::~CCQuadSink):
* platform/graphics/chromium/cc/CCRenderPass.cpp:
(WebCore::CCRenderPass::CCRenderPass):
(WebCore::CCRenderPass::appendQuadsForLayer):
(WebCore::CCRenderPass::appendQuadsForRenderSurfaceLayer):
* platform/graphics/chromium/cc/CCRenderPassDrawQuad.cpp:
(WebCore::CCRenderPassDrawQuad::create):
(WebCore::CCRenderPassDrawQuad::CCRenderPassDrawQuad):
* platform/graphics/chromium/cc/CCRenderPassDrawQuad.h:
(CCRenderPassDrawQuad):
(WebCore::CCRenderPassDrawQuad::hasExternalOcclusion):
* platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore::CCRenderSurface::CCRenderSurface):
(WebCore::CCRenderSurface::appendQuads):
* platform/graphics/chromium/cc/CCRenderSurface.h:
(WebCore):
(WebCore::CCRenderSurface::setHasExternalOcclusion):
(WebCore::CCRenderSurface::hasExternalOcclusion):
(CCRenderSurface):
* platform/graphics/chromium/cc/CCScrollbarLayerImpl.cpp:
(WebCore::CCScrollbarLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCScrollbarLayerImpl.h:
(CCScrollbarLayerImpl):
* platform/graphics/chromium/cc/CCSolidColorLayerImpl.cpp:
(WebCore::CCSolidColorLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCSolidColorLayerImpl.h:
(CCSolidColorLayerImpl):
* platform/graphics/chromium/cc/CCTextureLayerImpl.cpp:
(WebCore::CCTextureLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCTextureLayerImpl.h:
(CCTextureLayerImpl):
* platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
(WebCore::CCTiledLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCTiledLayerImpl.h:
(CCTiledLayerImpl):
* platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
(WebCore::CCVideoLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCVideoLayerImpl.h:
(CCVideoLayerImpl):

Source/WebKit/chromium:

Added unit tests to test texture caching with clipping and
occlusion. Removed some minor code duplication when initializing
layers for various scenarios.

MockCCQuadCuller can now implement CCQuadSink.

* tests/CCLayerTreeHostImplTest.cpp:
* tests/CCQuadCullerTest.cpp:
* tests/MockCCQuadCuller.h:
(WebCore::MockCCQuadCuller::MockCCQuadCuller):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] [WK2] Add a callback to handle delete request in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=91483

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-19
Reviewed by Dirk Pranke.

Add a callback to handle delete request and quit the main loop when
window is asked to be deleted so that all the resources allocated
for the window will be freed properly.

* MiniBrowser/efl/main.c:
(closeWindow):
(browserCreate):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Added/updated missing fast/forms results after rebaseline
https://bugs.webkit.org/show_bug.cgi?id=91504

Patch by Bruno de Oliveira Abinader <bruno.abinader@basyskom.com> on 2012-07-19
Reviewed by Noam Rosenthal.

The following tests were failing after r122879:
  fast/forms/HTMLOptionElement_label06.html = TEXT
  fast/forms/HTMLOptionElement_label07.html = TEXT
  fast/forms/basic-inputs.html = TEXT
  fast/forms/basic-textareas-quirks.html = TEXT
  fast/forms/box-shadow-override.html = TEXT
  fast/forms/control-restrict-line-height.html = TEXT
  fast/forms/encoding-test.html = TEXT
  fast/forms/fieldset-align.html = TEXT
  fast/forms/form-element-geometry.html = TEXT
  fast/forms/input-appearance-bkcolor.html = TEXT
  fast/forms/input-appearance-default-bkcolor.html = TEXT
  fast/forms/input-appearance-disabled.html = TEXT
  fast/forms/input-appearance-focus.html = TEXT
  fast/forms/input-appearance-preventDefault.html = TEXT
  fast/forms/input-appearance-readonly.html = TEXT
  fast/forms/input-appearance-selection.html = TEXT
  fast/forms/input-appearance-visibility.html = TEXT
  fast/forms/input-baseline.html = TEXT
  fast/forms/input-disabled-color.html = TEXT
  fast/forms/input-double-click-selection-gap-bug.html = TEXT
  fast/forms/input-placeholder-visibility-1.html = TEXT
  fast/forms/input-placeholder-visibility-3.html = TEXT
  fast/forms/input-readonly-dimmed.html = TEXT
  fast/forms/input-readonly-empty.html = TEXT
  fast/forms/input-spaces.html = TEXT
  fast/forms/input-text-click-inside.html = TEXT
  fast/forms/input-text-double-click.html = TEXT
  fast/forms/input-text-option-delete.html = TEXT
  fast/forms/input-text-self-emptying-click.html = TEXT
  fast/forms/input-text-word-wrap.html = TEXT
  fast/forms/input-width.html = TEXT
  fast/forms/menulist-separator-painting.html = TEXT
  fast/forms/number/input-appearance-number-rtl.html = TEXT
  fast/forms/number/input-appearance-spinbutton-disabled-readonly.html = TEXT
  fast/forms/number/input-appearance-spinbutton-layer.html = TEXT
  fast/forms/placeholder-position.html = TEXT
  fast/forms/placeholder-pseudo-style.html = TEXT
  fast/forms/search-cancel-button-style-sharing.html = TEXT
  fast/forms/search-display-none-cancel-button.html = TEXT
  fast/forms/search-rtl.html = TEXT
  fast/forms/search-vertical-alignment.html = TEXT
  fast/forms/select-background-none.html = TEXT
  fast/forms/select-baseline.html = TEXT
  fast/forms/selectlist-minsize.html = TEXT
  fast/forms/text-style-color.html = TEXT
  fast/forms/textarea-align.html = TEXT
  fast/forms/textarea-placeholder-pseudo-style.html = TEXT
  fast/forms/textarea-placeholder-visibility-1.html = TEXT
  fast/forms/textarea-placeholder-visibility-2.html = TEXT
  fast/forms/textarea-setinnerhtml.html = TEXT
  fast/forms/textfield-focus-ring.html = TEXT
  fast/forms/textfield-outline.html = TEXT
  fast/forms/textfield-overflow.html = TEXT

This patch includes/updates the missing expectations.

* platform/qt-5.0-wk2/fast/forms/HTMLOptionElement_label06-expected.png:
* platform/qt-5.0-wk2/fast/forms/HTMLOptionElement_label06-expected.txt:
* platform/qt-5.0-wk2/fast/forms/HTMLOptionElement_label07-expected.png:
* platform/qt-5.0-wk2/fast/forms/HTMLOptionElement_label07-expected.txt:
* platform/qt-5.0-wk2/fast/forms/basic-inputs-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/basic-inputs-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/basic-textareas-quirks-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/basic-textareas-quirks-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/box-shadow-override-expected.png:
* platform/qt-5.0-wk2/fast/forms/box-shadow-override-expected.txt:
* platform/qt-5.0-wk2/fast/forms/control-restrict-line-height-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/control-restrict-line-height-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/encoding-test-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/fieldset-align-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/fieldset-align-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/form-element-geometry-expected.png:
* platform/qt-5.0-wk2/fast/forms/form-element-geometry-expected.txt:
* platform/qt-5.0-wk2/fast/forms/input-appearance-bkcolor-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-default-bkcolor-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-default-bkcolor-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-disabled-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-disabled-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-focus-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-focus-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-preventDefault-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-readonly-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-readonly-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-selection-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-selection-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-visibility-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-baseline-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-baseline-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-disabled-color-expected.png:
* platform/qt-5.0-wk2/fast/forms/input-disabled-color-expected.txt:
* platform/qt-5.0-wk2/fast/forms/input-double-click-selection-gap-bug-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-double-click-selection-gap-bug-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-placeholder-visibility-1-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-placeholder-visibility-3-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-readonly-dimmed-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-readonly-empty-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-spaces-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-text-click-inside-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-text-double-click-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-text-option-delete-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-text-self-emptying-click-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-text-word-wrap-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-width-expected.txt: Copied from LayoutTests/platform/qt-5.0-wk2/fast/forms/textarea-setinnerhtml-expected.txt.
* platform/qt-5.0-wk2/fast/forms/menulist-separator-painting-expected.txt:
* platform/qt-5.0-wk2/fast/forms/number/input-appearance-number-rtl-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/number/input-appearance-number-rtl-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/number/input-appearance-spinbutton-layer-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/placeholder-position-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/placeholder-position-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/placeholder-pseudo-style-expected.png:
* platform/qt-5.0-wk2/fast/forms/placeholder-pseudo-style-expected.txt:
* platform/qt-5.0-wk2/fast/forms/search-cancel-button-style-sharing-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/search-display-none-cancel-button-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/search-rtl-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/search-rtl-expected.txt:
* platform/qt-5.0-wk2/fast/forms/search-vertical-alignment-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/search-vertical-alignment-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/select-background-none-expected.txt:
* platform/qt-5.0-wk2/fast/forms/select-baseline-expected.png:
* platform/qt-5.0-wk2/fast/forms/select-baseline-expected.txt:
* platform/qt-5.0-wk2/fast/forms/selectlist-minsize-expected.txt:
* platform/qt-5.0-wk2/fast/forms/text-style-color-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/text-style-color-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/textarea-align-expected.png:
* platform/qt-5.0-wk2/fast/forms/textarea-align-expected.txt:
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-pseudo-style-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-pseudo-style-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-visibility-1-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-visibility-2-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/textarea-setinnerhtml-expected.txt:
* platform/qt-5.0-wk2/fast/forms/textfield-focus-ring-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/textfield-outline-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/textfield-overflow-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: WebKit should pass <title> element value as the default description for web views
https://bugs.webkit.org/show_bug.cgi?id=91763

Reviewed by Anders Carlsson.

Update the logic for determining the description for the AXWebArea to include the document's title.

Test: platform/mac/accessibility/document-title-used-for-description.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::webAreaAccessibilityDescription):
   Move web area description handling into a separate method.
(WebCore::AccessibilityRenderObject::accessibilityDescription):
* accessibility/AccessibilityRenderObject.h:
(AccessibilityRenderObject):

LayoutTests: WebKit should pass <title> element value as the default AXTitle for web views
https://bugs.webkit.org/show_bug.cgi?id=91763

Reviewed by Anders Carlsson.

* platform/mac/accessibility/document-title-used-for-description-expected.txt: Added.
* platform/mac/accessibility/document-title-used-for-description.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2] Add Vibration API integration to WebContext and WebPage
https://bugs.webkit.org/show_bug.cgi?id=91081

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-19
Reviewed by Anders Carlsson.

Integrate Vibration API to WebPage, WebContext and properly route
messages to the WebVibrationProxy.

* UIProcess/API/C/WKContext.cpp:
(WKContextGetVibration):
* UIProcess/API/C/WKContext.h:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):
(WebKit::WebContext::disconnectProcess):
(WebKit::WebContext::didReceiveMessage):
* UIProcess/WebContext.h:
(WebKit):
(WebContext):
(WebKit::WebContext::vibrationProxy):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didReceiveMessage):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: [CSS2.1] Anonymous tables should be inline/block-level based off their parent
https://bugs.webkit.org/show_bug.cgi?id=15365

Reviewed by Abhishek Arya.

This change makes us match bullet 3 "Generate missing parents" of section 17.2.1 http://www.w3.org/TR/CSS2/tables.html#anonymous-boxes":
"If a table is contained by an inline element, then the anonymous tables should be inline-tables."

Patch based on an earlier change by Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>.

Tests: css2.1/20110323/inline-table-002b.html
       fast/dynamic/insert-before-table-part-in-continuation.html
       fast/table/inline-table-in-continuation.html
       fast/table/inline-table-with-caption.html

* rendering/RenderTable.cpp:
(WebCore::RenderTable::createAnonymousWithParentRenderer):
Added a check to determine if we should be inline or block based on our parent to match CSS 2.1.

* rendering/RenderInline.cpp:
(WebCore::RenderInline::addChildIgnoringContinuation):
Changed the child addition logic to not wrap a table part in an inline context. This change works
as intended as we will call RenderObject::addChild which will create an anonymous inline table that
will be added under |this| instead of the table part. As the table is inline, it doesn't need to be
wrapped when we recursively call RenderInline::addChild.

Source/WebKit2: [WK2] Add Vibration API integration to WebContext and WebPage
https://bugs.webkit.org/show_bug.cgi?id=91081

Reviewed by Anders Carlsson.

Integrate Vibration API to WebPage, WebContext and properly route
messages to the WebVibrationProxy.

* UIProcess/API/C/WKContext.cpp:
(WKContextGetVibration):
* UIProcess/API/C/WKContext.h:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):
(WebKit::WebContext::disconnectProcess):
(WebKit::WebContext::didReceiveMessage):
* UIProcess/WebContext.h:
(WebKit):
(WebContext):
(WebKit::WebContext::vibrationProxy):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didReceiveMessage):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):

Tools: [EFL] [WK2] Add a callback to handle delete request in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=91483

Reviewed by Dirk Pranke.

Add a callback to handle delete request and quit the main loop when
window is asked to be deleted so that all the resources allocated
for the window will be freed properly.

* MiniBrowser/efl/main.c:
(closeWindow):
(browserCreate):

LayoutTests: [CSS2.1] Anonymous tables should be inline/block-level based off their parent
https://bugs.webkit.org/show_bug.cgi?id=15365

Reviewed by Abhishek Arya.

* css2.1/20110323/inline-table-002b-expected.htm: Added.
* css2.1/20110323/inline-table-002b.html: Added.

* fast/table/inline-table-in-continuation-expected.html: Added.
* fast/table/inline-table-in-continuation.html: Added.
Added a test for an anonymous inline table in a continuation.

* fast/table/inline-table-with-caption-expected.html: Added.
* fast/table/inline-table-with-caption.html: Added.
Added a test for a table-caption in inline-context.

* platform/chromium-win/tables/mozilla/bugs/bug3037-1-expected.txt:
This is a progression: we now properly make the table inline and don't wrap it in anonymous blocks.

* platform/chromium-linux/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
* platform/chromium-win/fast/dynamic/insert-before-table-part-in-continuation-expected.txt:
This is a progression too. However we still have some differences with Firefox and Opera.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Support external autofill popups
https://bugs.webkit.org/show_bug.cgi?id=91651

Reviewed by Darin Fisher.

This looks like the last piece needed to support external autofill
popups. This function just lets the embedder select an index
(presumably because the user picked an index from the external autofill
popup).

* public/WebView.h:
(WebView):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::selectAutofillSuggestionAtIndex):
(WebKit):
* src/WebViewImpl.h:
(WebViewImpl):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium][Mac] Switch the MACOSX_DEPLOYMENT_TARGET to 10.6
https://bugs.webkit.org/show_bug.cgi?id=91752

Patch by Robert Sesek <rsesek@chromium.org> on 2012-07-19
Reviewed by Eric Seidel.

When building CHROMIUM && DARWIN, do not enable ATSUI support.

* wtf/Platform.h:

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