Make GCC happy by not using nullptr.

Not sure why this fails to compile.  clang thinks this is fine.

BUG=305811
TBR=jchaffraix

git-svn-id: svn://svn.chromium.org/blink/trunk@164118 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 164094 "This review merges the two existing page serializ..."

This change is making 2 browser_tests fail:
- BrowserEncodingTest.TestOverrideEncoding
- BrowserEncodingTest.TestEncodingAutoDetect

> This review merges the two existing page serializers, WebPageSerializerImpl and
> PageSerializer, into one, PageSerializer. In addition to this it moves all
> the old tests from WebPageNewSerializerTest and WebPageSerializerTest to the
> PageSerializerTest structure and splits out one test for MHTML into a new
> MHTMLTest file.
> 
> Saving as 'Webpage, Complete', 'Webpage, HTML Only' and as MHTML when the
> 'Save Page as MHTML' flag is enabled now uses the same code, and should thus
> have the same feature set. Meaning that both modes now should be a bit better.
> 
> Detailed list of changes:
> 
> - PageSerializerTest: Prepare for more DTD test
> - PageSerializerTest: Remove now unneccesary input image test
> - PageSerializerTest: Remove unused WebPageSerializer/Impl code
> - PageSerializerTest: Move data URI morph test
> - PageSerializerTest: Move data URI test
> - PageSerializerTest: Move namespace test
> - PageSerializerTest: Move SVG Image test
> - MHTMLTest: Move MHTML specific test to own test file
> - PageSerializerTest: Delete duplicate XML header test
> - PageSerializerTest: Move blank frame test
> - PageSerializerTest: Move CSS test
> - PageSerializerTest: Add frameset/frame test
> - PageSerializerTest: Move old iframe test
> - PageSerializerTest: Move old elements test
> - Use PageSerizer for saving web pages
> - PageSerializerTest: Test for rewriting links
> - PageSerializer: Add rewrite link accumulator
> - PageSerializer: Serialize images in iframes/frames src
> - PageSerializer: XHTML fix for meta tags
> - PageSerializer: Add presentation CSS
> - PageSerializer: Rename out parameter
> 
> BUG=328354
> R=abarth@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162155
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162294
> 
> Review URL: https://codereview.chromium.org/68613003

TBR=tiger@opera.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164119 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Shape-Inside Should Not Be Shared To Descendants of Inline or Floating Elements

The test for sharing ShapeInsideInfo sharing was insufficient to catch
shadow children of elements (such as text controls).

BUG=317819

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164120 bbb929c8-8fbe-4397-9dbb-9b2b20218538
HTMLMediaElement: also fire resize event on initial metadata load.

BUG=329392

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164121 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update MockDiscardablePixelRef to use new SkPixelRef constructor.

This change was missed in commit aed1d74 / codereview 105693010 /
svn @163712.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164122 bbb929c8-8fbe-4397-9dbb-9b2b20218538
When "end of line" is an isolated element, InlineIterator::increment is wrongly
moving the iterator to the next object.
This patch fixes the behavior verifying if endOfLine is the current isolated object 
or a child of it.
Now the worst case scenario for Inline::increment happens when endOfLine is the isolated element.

BUG=326860

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

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