Rebaseline after r150911.

It seems that one of the baseline was left and it is making
the mac bots unhappy.

TBR=schenney@chromium.org

Review URL: https://codereview.chromium.org/15745010

git-svn-id: svn://svn.chromium.org/blink/trunk@150916 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline some composited scrollbar tests

It's probably due to
http://src.chromium.org/viewvc/chrome?revision=201559&view=revision
as the Blink changes are unrelated.

The scrollbars' sizes changed by a few pixels. The results were
consistent across several runs of the bots too.

TBR=jamesr@chromium.org

Review URL: https://codereview.chromium.org/15760002

git-svn-id: svn://svn.chromium.org/blink/trunk@150917 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add reshapeWithScaleFactor to WebGraphicsContext3D 

The scaleFactor argument will be pulled into the reshape 
function and this function will be deleted when the corresponding 
Chromium parts of this change land.

BUG=132714
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/15683002

git-svn-id: svn://svn.chromium.org/blink/trunk@150918 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove dead code found by looking for calls to notImplemented()

Also merged DragDataChromium.cpp into DragData.cpp

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/15618002

git-svn-id: svn://svn.chromium.org/blink/trunk@150919 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add RELEASE_ASSERT_WITH_SECURITY_IMPLICATION and use it for the new binding integrity check.

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/15639002

git-svn-id: svn://svn.chromium.org/blink/trunk@150920 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline some more composited scrollbar tests after r150914

The Windows bots didn't have time to run before r150914 so adding the
new Windows baselines. For this change again, the scrollbars moved a
couple of pixels.

TBR=jamesr@chromium.org

Review URL: https://codereview.chromium.org/15765003

git-svn-id: svn://svn.chromium.org/blink/trunk@150922 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline Link Highlight tests.

BUG=none
R=jamesr@chromium.org

Review URL: https://codereview.chromium.org/15743010

git-svn-id: svn://svn.chromium.org/blink/trunk@150923 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Node::lazyAttach shouldn't lie about being attached

lazyAttach just needs to mark the node as needing a style recalc, there's no reason
to mark the node as attached, or mark all the descendants as being attached. We also
don't need to mark all descendants as needing a style recalc since Element::recalcStyle
is going to transform the StyleChange into a Force when it goes to descendants.

Now lazyAttach just marks you as needing a FullStyleChange and the later recalcStyle
will mark you as attached. This means that after this patch attached() is equivalent to
"ever had style recalc". In a future patch we should rename that flag.

A benefit of this patch is that doing appendChild(divWithLotsOfDescendants); now does 2
fewer walks of the descendants because we don't need to mark them all as attached in
lazyAttach, and we don't need to run detach() in recalcStyle() when it calls reattach.

Another benefit is that Node::attach is no longer n^2 when you append many elements
without any whitespace between them because the loop to fix up whitespace can bail
out early when it sees !next->attached().

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/15159008

git-svn-id: svn://svn.chromium.org/blink/trunk@150924 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename/tweak some StylePropertySet/CSSStyleDeclaration copying functions.

- StylePropertySet::copy() -> mutableCopy() : This function now returns a MutableStylePropertySet,
and this is also reflected in the name.

- CSSStyleDeclaration::copy() -> copyProperties() : Renamed to reflect that it's the properties
being copied, not the CSSStyleDeclaration. They also now return MutableStylePropertySets.

- StylePropertySet::copyPropertiesInSet() and CSSStyleDeclaration::copyPropertiesInSet() :
These functions now return MutableStylePropertySets.

This is a backport from WebKit r148365. Patch by Andreas Kling and reviewed by Anders Carlsson.

Review URL: https://chromiumcodereview.appspot.com/15746004

git-svn-id: svn://svn.chromium.org/blink/trunk@150925 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Create TestExpectationLines directly instead of creating a dummy expectations string
when grabbing flakiness data from the flakiness dashboard.

This allows us to bypass some of the restrictions of the parser (e.g. that
each line have an associated bug and an inability to disabiguate some failure types).

Also, get rid of the hard-coded failure map and use the one that's now
included in the results json.

R=dpranke@chromium.org

Review URL: https://codereview.chromium.org/15412004

git-svn-id: svn://svn.chromium.org/blink/trunk@150926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use V8ScriptRunner's method in _NPN_Enumerate

A slight change is that the new code adds MicortaskScope around Script::Run().
This won't affect behavior.

BUG=241743
R=abarth

Review URL: https://chromiumcodereview.appspot.com/15735002

git-svn-id: svn://svn.chromium.org/blink/trunk@150927 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use compileAndRunInternalScript() in ScriptDebugServer::ensureDebuggerScriptCompiled

No change in behavior.

BUG=241743
R=abarth

Review URL: https://chromiumcodereview.appspot.com/15725002

git-svn-id: svn://svn.chromium.org/blink/trunk@150928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make WebGL objects scriptwrappable so that binding integrity checks may be applied to them.

BUG=236671
R=abarth@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15481002

git-svn-id: svn://svn.chromium.org/blink/trunk@150929 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Final rebaseline after r150914

WinXP is super slow and just caught up to the new baselines.

TBR=jamesr@chromium.org

Review URL: https://codereview.chromium.org/15735015

git-svn-id: svn://svn.chromium.org/blink/trunk@150930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make WidgetHierarchyUpdatesSuspensionScope use swap instead of copy

This is equivalent behavior code that is unambiguously better performance. swap is O(1) time and memory, copying a hash table is at least linear with the number of elements.

(Caveat: I don't know how big that map can get, so this may not have any noticeable impact on performance).

BUG=

Review URL: https://chromiumcodereview.appspot.com/15741010

git-svn-id: svn://svn.chromium.org/blink/trunk@150931 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Re-enable link highlight layout tests.

BUG=none

Review URL: https://chromiumcodereview.appspot.com/15697015

git-svn-id: svn://svn.chromium.org/blink/trunk@150932 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Clean up WebDOMEvent ownership of WebCore::Event.

Previously, it did manual reference counting. This change uses WebPrivatePtr to make the code clearer and safer.

This change also introduces a copy constructor to WebPrivatePtr. Without that, the new WebDOMEvent was quietly using the compiler-provided copy constructor, which does not reference count. This change also disables copy and assign for WebPrivatePtr when WEBKIT_IMPLEMENTATION is not set, to make sure the compiler-provided ones are not used.

BUG=

Review URL: https://chromiumcodereview.appspot.com/15271012

git-svn-id: svn://svn.chromium.org/blink/trunk@150933 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove ceiledLayoutUnit and roundedLayoutUnit.

There methods used to do something different than LayoutUnit::fromFloatCeil/Round
when sub-pixel layout was disabled. We no longer support that configuration, so
these are redundant.

R=eae@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15691006

git-svn-id: svn://svn.chromium.org/blink/trunk@150934 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make FrameLoader::reload always use the active document loader.

FrameLoader::reload used the m_documentLoader, even if the loader was in the
FrameStateProvisional state.  This means that if the FrameLoader is sent a
reload call while it is loading it's first document, the reload will fail
and instead load "about:blank" since m_documentLoader is empty.  This change
makes reload use the activeDocumentLoader, which means reload works correctly
if the frame is in the FrameStateProvisional state.

This bug exposes itself on Chrome for Android where the browser process can
restore a swapped-out tab, then immediatly call reload on this tab before the
FrameLoader has finished performing the previous load (that was due to the tab
restored from the swapped-out state).

BUG=chromium:115842
TEST=Ran layout webkit layout tests. Built and ran on Chrome for Android.

Review URL: https://chromiumcodereview.appspot.com/15288006

git-svn-id: svn://svn.chromium.org/blink/trunk@150935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 150663 "Auto-generate V8StyleSheetList::namedPropertyGetter"

> Auto-generate V8StyleSheetList::namedPropertyGetter
> 
> Removed V8StyleSheetListCustom.cpp.
> 
> R=haraken@chromium.org
> BUG=229740
> TEST=No tests. refactoring.
> 
> Review URL: https://chromiumcodereview.appspot.com/15373004

TBR=kojih@chromium.org

Review URL: https://codereview.chromium.org/15681008

git-svn-id: svn://svn.chromium.org/blink/trunk@150936 bbb929c8-8fbe-4397-9dbb-9b2b20218538