Have Document::nodeWillBeRemoved() take a reference

Have Document::nodeWillBeRemoved() take a reference instead of a pointer
as it can never be null. This makes the caller simpler as it already
have a Node reference. This also gets rid of several unnecessary null
checks.

R=adamk

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160986 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move FloatWithRect to RenderBlockFlow

FloatWithRect is only used by RenderBlockLineLayout, all of the logic
of which belongs attributed to RenderBlockFlow.

BUG=302024

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160987 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Have NodeChildRemovalTracker constructor take a reference

Have NodeChildRemovalTracker constructor take a reference instead of
a pointer and update NodeChildRemovalTracker::node() to return a
reference, as those pointers could not be null.

This makes the calling code look safer.

R=adamk

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160988 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[webcrypto] Make WebCryptoKey nullable.

This is a convenience for the embedder so it is easier to use as an out-parameter like:

  WebCryptoKey key = WebCryptoKey::createNull();
  if (doSomethingThatMightFailOrCreateKey(&key)) {
    ..
  }

On the other side of the Blink API, WebCryptoKey is never expected to be null.

BUG=245025

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160989 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Finding an <object> element by name only works it has no children other than <param> elements

Finding an <object> element by name only works it has no children other than <param> elements.
We used to do this to match a very old behavior of IE:
https://bugs.webkit.org/show_bug.cgi?id=5449

However, both IE10 and FF24 do not have this restriction anymore.

This patch updates our behavior to match IE and FF's, meaning that an <object> element can
be found by name even if it has children that are not <param> elements.

R=eseidel
BUG=313292

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160990 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused isRecognizedTagName() in HTMLObjectElement.cpp.

This is a followup patch for r160990, and fix Linux build.

BUG=313292
TBR=ch.dumez@samsung.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160991 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove display:run-in as per https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/_tHSX0IYXhQ.

The complexity does not justify the 0.008% of page views usage. If we
decide it's worth implementing in the future, we can implement it in
a more secure, maintainable way.

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

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