Implement the Oilpan pushAllRegisters stub on MIPS.

The main difference with the other stubs is that you have to allocate
room for spilling the arguments in the caller.

R=erik.corry@gmail.com, plind44@gmail.com, rmcilroy@chromium.org, torne@chromium.org, vegorov@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165596 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Take references instead of pointers in TreeScope constructor

Also store a Node& in m_rootNode. This allows us to avoid some useless
null checks and makes other code that was already assuming non-nullity
look safer.

R=ch.dumez@samsung.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165597 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make sure the rootNode of a LiveNodeListBase is always a ContainerNode

Make sure the rootNode of a LiveNodeListBase is always a ContainerNode. This
simplifies the logic inside LiveNodeListBase. It also gets rid of ContainerNode
checks in HTMLCollection / LiveNodeList's traverseForwardToOffset() which are
hot in Dromaeo's dom-traverse.html. This improves the following test's score by
~3%:
- Bindings/node-list-access.html

The only exception was when Node.childNodes is called on a non-ContainerNode.
We now handle this special case separately by introducing an EmptyNodeList
class which inherits from NodeList instead of LiveNodeListBase.

This CL also moves the getElementsBy*() methods from Node to ContainerNode
as they only make sense for ContainerNodes. They are actually exposed to JS
on Element, not Node.

This patch is based on WebKit r158536 by <antti@apple.com>.

R=eseidel, esprehn, abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165598 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Handle missing or invalid Keyframe offsets.

The keyframes are normalized using the algorithm from
section 6.16.4 'Normalizing the list of keyframes' of the Web Animations draft specification.

BUG=327564

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165599 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Font Load Events] Implement the remaining SetClass operations for FontFaceSet

This patch adds add(), clear(), and delete() methods to FontFaceSet.
FontFaces added by add() method are "non-CSS-connected"; they are placed
after the "CSS-connected" (generated by @font-face rules) font faces in
the font matching ordering [1]. The clear() and delete() removes only
non-CSS-connected font faces [2].

FontFaceSet has the list of non-CSS-connected font faces added to the set.
When CSSFontSelector is reconstructed, addFontFacesToCSSSegmentedFontFaceCache()
method adds its non-CSS-connected faces to the new CSSSegmentedFontFaceCache.

[1] http://dev.w3.org/csswg/css-font-load-events/#document-font-face-set
[2] http://dev.w3.org/csswg/css-font-load-events/#set-modifications

BUG=53213
TEST=fast/css/fontfaceset-set-operations.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165600 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Delete apparently unused geolocation declarations and include.

BUG=336263

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165601 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use factory methods of FileEntrySync and DirectoryEntrySync in EntrySync::create.

Also, stop their friendship.

BUG=none
TEST=none; no behaivor changes.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165602 bbb929c8-8fbe-4397-9dbb-9b2b20218538
XHR should respect Cache-Control headers.

As the specification says, XHR should respect Cache-Control headers.
This CL makes ResourceFetcher not to use the Blink-side cache when
a Cache-Control header is set, without understanding its value.

BUG=333804
R=tyoshino

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165603 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disallow mixed use of v0.1b and WD EME in Media element.

BUG=306680
TEST=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165604 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[import] Let imported documents visible in DevTools resource panel.

This change tells DevTools about Resources and their type of HTML Imports.
The change:

- maps Resouce::ImportResource to InspectorPageAgent::DocumentResource.
- traverses import tree to return all resources in the tree for InspectorPageAgent::getResourceTree()
- Let HTMLImportChild retain Resource object for imports even loading is finished so that getResourceTree can find it.

TEST=resource-tree-htmlimports.html
BUG=334388
R=pfeldman, vsevik, dglazkov

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

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