Chop off more unused bits from config.h.

build/common.gypi already defines _WIN32_WINNT and WINVER via a /D flag.
It also defines WIN32_LEAN_AND_MEAN which is a superset of _WINSOCKAPI_.

No intended functionality change.

BUG=none
R=scottmg@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149535 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactor m_absoluteTransform out of SVGFilter and into base class.

BUG=237213

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149536 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Change HTMLMediaElement::userCancelledLoad() to always call clearMediaPlayer()

HTMLMediaElement::userCancelledLoad() is only called when Blink is trying to stop
all the ActiveDOMObjects. In all cases where that happens we want to make sure that
m_player is cleared so that nothing from MediaPlayer and below will access WebCore
objects.

BUG=230117

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149537 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening flaky test expectations.

TBR=dstockwell
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149538 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove more *Client methods unused in Blink

The previous cleanups missed these because they were overridden
as no-ops in the ClientImpl header files rather than the .cpp.

There's clearly more ContextMenu cleanup to be done here but that
seems better for a later patch.

R=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149539 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline fast/block/margin-collapse/block-inside-inline/025.html

git-svn-id: svn://svn.chromium.org/blink/trunk@149540 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Chop off even more unused bits from config.h.

HAVE_FUNC_USLEEP was only used in ContainerNode::setActive(), but that code
was deleted in https://codereview.chromium.org/13652013 .

BUG=none
TBR=dglazkov

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149541 bbb929c8-8fbe-4397-9dbb-9b2b20218538
More flake gardening.

TBR=dstockwell
BUG=237270,237272

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149542 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark a fast/dom/Window test as flaky.

BUG=76550
TEST=fast/dom/Window/window-function-frame-getter-precedence.html
TBR=dstockwell

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149543 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactoring: Make WebSocketFrame construction more readable.

BUG=236732
R=tyoshino, tkent

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149544 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move transform building logic out of StyleResolver

Move TransformBuilder::createTransformOperations and support
functionality out of StyleResolver and into a separate self contained
class.

* Source/core/css/StyleResolver.cpp:
* Source/core/css/StyleResolver.h:
  (StyleResolver::applyProperty):
    Change CSSPropertyWebkitTransform case to use TransformBuilder to
    populate TransformOperations list.
  (StyleResolver::parseCustomFilterTransformParam):
    Change to use TransformBuilder to populate TransformOperations
    list.
  (StyleResolver::createTransformOperations):
    Move createTransformOperations to TransformBuilder.
  (getTransformOperationType):
    Move static function to TransformBuilder as it is only used by
    the createTransformOperations method.
* Source/core/css/TransformBuilder.cpp:
* Source/core/css/TransformBuilder.h:
  New files split from StyleResolver, as the cpp file is basically a
  copy of the relevant section from StyleResolver.cpp the same
  copyright is used.
  (convertToFloatLength):
    Static support function for createTransformOperations.
  (getTransformOperationType):
    Static support function for createTransformOperations, moved from
    StyleResolver.cpp.
  (TransformBuilder::createTransformOperations):
    Main method for populating a TransformOperations list, moved from
    StyleResolver.cpp

R=eseidel@chromium.org
BUG=237269
TEST=No new tests, no change in functionality.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149545 bbb929c8-8fbe-4397-9dbb-9b2b20218538
RenderObject: don't change GraphicsContext state when not drawing dashed/dotted lines.

Previously, there was asymmetry between changing and restoring state (certain
state would be restored only if thickness was positive, i.e. a line was actually
drawn).

BUG=237311

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149546 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 149519 "Revert 149499 "Allow using both EnabledAtRuntime ...

> Revert 149499 "Allow using both EnabledAtRuntime and EnabledPerContext conditions for the same variable."
> Revert 149508 "Use next instead of adding indentation in the perl script in the CodeGenerator."
>
> Caused several media (uses EnabledAtRuntime) related tests to become flaky/crash, eg:
>   media/video-zoom.html
>   media/video-set-rate-from-pause.html
>   media/media-fragments/TC0070.html
>
> TBR=yael.aharon@intel.com,haraken@chromium.org
> BUG=236824
>
> Review URL: https://chromiumcodereview.appspot.com/14774003

TBR=yael.aharon@intel.com,haraken@chromium.org
BUG=236824

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149547 bbb929c8-8fbe-4397-9dbb-9b2b20218538
FeImage - duplicate transformation for relatively-sized targets.

When applied to an SVG fragment, feImage attempts to adjust the buffer CTM to
compensate for relative-sized elements (resolved relative to the current
viewport) vs. filter region discrepancies
(details: https://bugs.webkit.org/attachment.cgi?id=124296&action=prettypatch).

For this purpose, FEImage::applySoftware() applies an aditional transformation
computed as a map from viewport-resolved sizes to the primitive subregion
space (destRect). The problem is that destRect is already computed in absolute
coordinates, so adding this map-transform on top of the absolute transform is
incorrect (duplicates the scale, etc.).

The solution is to avoid stacking two absolute components, and only concat the
absolute transform when not adjusting for relatively-sized targets.

BUG=235800

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149548 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert
> WebViewImpl should setBackgroundColor in layout() not during paint.
>
> Changing the layer tree during paint is bad behaviour, and will soon
> not have effect for the frame being painted - which means we'll get
> a frame without the background color that WebViewImpl is expecting.
>
> This moves the call to setBackgroundColor into layout(), with
> appropriate early-outs to not crash, as Layout() is called
> before compositing is active, while painting was not.
>
> R=enne
> BUG=231925

TBR=enne, danakj
BUG=231925

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

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