Oilpan: Prepare moving InspectorStyle to Oilpan

BUG=340522

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179080 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move Node::enclosingBlockFlowElement() to htmlediting.h

Move Node::enclosingBlockFlowElement() / inSameContainingBlockFlowElement() to
htmlediting.h as this is only needed for editing.

R=leviw@chromium.org, yosin@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179081 bbb929c8-8fbe-4397-9dbb-9b2b20218538
text-align-last only affect to the last line when text-align is justify.

CSS3 Text spec about text-align-last has been modified
as the property only can affect to the last line when test-align is justify.

http://www.w3.org/TR/css-text-3/#text-align-last-property

BUG=248839

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179082 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Minor Cleanup] Remove unnecessary constructor from WebCompositionUnderline.h

This constructor has no references to it. Hence, removing it.

BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179083 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r179059

http://src.chromium.org/viewvc/blink?view=revision&revision=179059

BUG=392794
TBR=wangxianzhu@chromium.org

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

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

r174506 replaced toV8Context() with v8::Object::CreationContext(),
and it caused 16% regression in dromaeo.jslibeventjquery.
This is because v8::Object::CreationContext() is slow.

This CL reverts the change.

BUG=383926

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179085 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Remove Element* raw pointers in objects

- Make StyleResolver's StyleSharingList a HeapDeque of Member<Element>s.
- Make CSSFontFaceSrcValue::m_svgFontFaceElement a Member<Element>.
- Add a FIXME to make ScriptLoader::m_element to a Member<Element>.
Given that ResourceClient is going to be moved to the heap soon,
it would be better to just wait for it rather than making it a Persistent<Element>.

BUG=340522

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179086 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Replace Node* pointers with Member<Node>s

- Make SelectorCheckerContext STACK_ALLOCATED.
- Make FocusCandidate STACK_ALLOCATED.
- Make TreeBoundaryCrossingRuleSetMap a hash map from Member<Node> to Member<CSSStyleSheetRuleSubSet>. This hash map doesn't need to be weak.

BUG=340522

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179087 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Fix SharedWorker leak when script load has failed. (https://codereview.chromium.org/424653002/)

Reason for revert:
May cause crash

Original issue's description:
> Fix SharedWorker leak when script load has failed.
> 
> When SharedWorker script load has failed and the |WebSharedWorkerImpl|
> was explicit told to terminate, the |WebSharedWorkerImpl| instance
> was never deleted.
> 
> This CL fixes the issue by invoking "delete this" when a worker thread
> instance does not exist in |stopWorkerThread()|.
> 
> TEST=fast/workers/worker-crash-with-invalid-location.html doesn't leak when --enable-leak-detection
> BUG=364390
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179011

TBR=falken@chromium.org,tkent@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=364390

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179088 bbb929c8-8fbe-4397-9dbb-9b2b20218538
If the client code reports the resource is lost, the mailbox should be
removed and also release the reference to DrawingBuffer, so that make
sure the DrawingBuffer has a chance to be destroyed.
    
BUG=390960

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

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