Move shouldSmoothFonts out of GraphicsContextState.

The flag is an invariant GraphicsContext property (only set once, at
construction time) and doesn't need to be saved/restored as part of
GraphicsContextState.

R=schenney@chromium.org,senorblanco@chromium.org,jbroman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180735 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Allow paint invalidation containers to cross frame boundaries. (re-land #2)

The previous commit was rolled out because it did not make the required changes
to PaintInvalidationState in order to teach it how to cross frame boundaries.

Previously, the *actual* paint invalidation container, meaning the enclosing
compositing layer / root RenderView, could already have been across a frame boundary.
The logic to do this correctly was done via special code in RenderView.

Instead, generalize the existing mechanisms to find a paint invalidation container
and map rects to repaint container coordinate space to cross frame boundaries.
This simplifies the code, and also causes paint invalidation rects to always be stored
in the coordinate space of their graphics layer backing. The latter is important if we want
to use these rects for determining which parts of a graphics layer need to be painted.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180736 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: HeapProfiler can't save snapshot to the disk

After r179948 our heap profiler is unable to run
TempStorage shared worker because we have different
files layout in debug and release mode.

Unfortunatelly the existing schema of running dedicated
workers doesn't fit for shared workers due to
the difference in the workers API.

Also I found that there is a race between starting shared
worker and window.URL.revokeObjectURL(workerURL); call.

So I implemented plain simple Runtime.startSharedWorker
for our the only shared worker with the only script.

BUG=405007

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180737 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Do not reveal all files in navigator for workers.

R=loislo

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

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