[XHR] Move bools to end of class declaration for better padding

Move all 7 bool members of class XHRHttpRequest to end of declaration.
This results in better padding and reduces class size by 16 bytes.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176859 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ClipRect.h should contain only one class

This CL moves the other classes into their own files.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176860 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL: Support argument default values

This also changes the code generated for existing null default values,
by dropping use of argumentOrNull() (which then becomes unused and is
removed) and setting the argument's local variable explicitly by
assigning "nullptr" to it.

The use of argumentOrNull() in V8HistoryCustom.cpp was redundant;
reading info[N] directly yields an undefined value, which is converted
to a null string by V8StringResource<WithUndefinedOrNullCheck>.

BUG=258153

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176861 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Console] fix sourceurl when exception happens before inspector is open

When exception happens before inspector is open source url (from //# sourceURL=) is correctly shown in console.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176862 bbb929c8-8fbe-4397-9dbb-9b2b20218538
RenderLayerClipper should not treat getClipRects as free

Previously, RenderLayerClipper would call getClipRects
repeatedly for no reason, but getClipRects actually does
some work. This CL cleans up the code a
bit and removes many redundant calls to getClipRects
(now renamed to cachedClipRects).

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176863 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't squash iframes, frames or plugins.

This won't work in some corner cases, due to non-squashing-aware code in 
FrameView.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176864 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reduce forward declarations in core/dom

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176865 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a test for matchMedia listeners.

This feature has no tests! Lets start by adding the first one.

Note that the test will need to change once we stop running the listener
inside updateStyle, but that's good, it'll show when we fixed that bug.

BUG=356487

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176866 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unnecessary Document.h includes in .cpp files

This change was made by removing the include everywhere, and then
restoring semi-manually until everything compiled again. This gives a
small reduction in recompilation when touching Document.h, from 1100
to 1074 steps locally.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176867 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove obsolete document wrapper creation in named constructors

For historical reasons, named constructor callbacks contained the code

  toV8(document, info.Holder(), isolate);

to ensure a document wrapper was created. This was necessary to ensure
the asynchronous lifetime of HTMLAudioElement and HTMLImageElement.

This is no longer the case, so drop the extra code.

R=haraken
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176868 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Clean up tracing macros used during the compositing update

This CL moves most of the tracing macros used during the compositing update
into their respective algorithm objects, which cleans up
RenderLayerCompositor::updateIfNeeded. This refactoring also lets us inline the
GraphicsLayerUpdater::UpdateContext member functions, which are showing up
(albeit small) on profiles.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176869 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Block insecure XHR on secure pages.

This patch changes XHR from "passive" to "active" content; mixed XHR
will be blocked, just like mixed WebSockets, mixed script, mixed CSS,
and so on.

BUG=239540

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176870 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DirectWrite] Force aliased rendering for PMingLiU at small sizes

Force full alaiased rendering for the PMingLiU font as sizes smaller than
11px as it is illegible with DW rendering at smaller sizes.

BUG=386682
R=cpu@chromium.org,pdr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176871 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused done() method from WorkerThreadableLoader

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176872 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't try to paint selection gaps between flex items.

The selection gap code is designed for children flowing vertically.  When it tries to process a horizontal flex item, the gap can paint over an adjacent item.

BUG=381987

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176874 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove old invalidation code path.

This CL removes the old invalidation code path in favour of making the
RepaintAfterLayout path the only path.

This does not remove the entry in RuntimeEnabledFeatures. I'll remove the
code in chrome for --enable-repaint-after-layout and
--disable-repaint-after-layout first and put up a second CL to remove the
entry from RuntimeEnabledFeatures.

BUG=385281

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176875 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add missing NeedsRebaseline.

The following need rebaselining on all platforms after
http://src.chromium.org/viewvc/blink?revision=176850&view=revision :

editing/pasteboard/paste-plaintext-user-select-none.html
fast/forms/onselect-textarea.html

BUG=128306
TBR=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176876 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix *-baseline computation for {text-,}after-edge/ideographic/baseline

Negative descents were assumed, although they are positive. Fix sign of
'descent' in the {text-,}after-edge and ideographic cases.
Also fix the obvious mistake in the 'baseline' case, where it ought to be
handled in a similar way as 'auto', and not just return the "computed"
alignment-baseline value.

Added an additional case to pre-existing test for alignment-baseline.

TEST=svg/custom/{alignment,dominant}-baseline-modes.svg (pre-existing)
BUG=143990

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176877 bbb929c8-8fbe-4397-9dbb-9b2b20218538
GraphicsLayerUpdater shouldn't touch CompositedLayerMappings that don't needsGraphicsLayerUpdate

This CL is a warmup for trimming the GraphicsLayerUpdater treewalk to just
those CompositedLayerMappings that have their m_needsGraphicsLayerUpdate bit
set. Most of the work we were doing in this update was already scoped to that
bit. This CL moves the rest of the work inside.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176878 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable Oilpan for modules/mediastream/ by default.

- Replace Oilpan transition types with Oilpan real types.
- Remove unnecessary #includes.
- Remove |#if !ENABLE(OILPAN)| code.
- Add toMemberNativeArray().
- Remove RefPtr leftovers
-- MediaStreamEvent
-- modules/webaudio/MediaStreamAudioDestinationNode
-- modules/webaudio/MediaStreamAudioSourceNode
- Some style fixes

BUG=340522

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

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