Make RenderLayer::compositedLayerMapping assert that compositing state is up to date.

compositedLayerMapping is not up to date unless we've updated
compositing state. This assert exposes a bunch of new chicken
and egg compositing bugs.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167636 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove concept of frame IDs from embedding layer.

Unfortunately, we can't get rid of them completely at this time because
history has a dependency on it. Since history is eventually going to
move into the browser, I've added temporary hacks in WebCore::Frame for
history rather than plumbing the routing ID from WebFrameClient all the
way into WebCore.

BUG=314791
R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167637 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Always initialize LayoutScope::m_block.

While the missing initialization was completely harmless,
I got a compilation error with gcc 4.7.2.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167638 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove some weird comments that are not really necessary causing confusion.
    
BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167639 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't let RenderScrollbarPart have padding.

Return 0 padding for all sides. While RenderScrollbarPart isn't laid
out normally and padding is ignored anyway, the padding getters may
still be used from outside layout, and if padding is percent-based, a
containing block is required, which not all RenderScrollbarPart
objects have, so it would crash.

BUG=341004

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167640 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove deprecated two argument overload of WebFrame::create().

There are no remaining callers to this overload, so we can
remove it.

BUG=none
R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167641 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Pass LayerPaintingInfo to clipToRect

Every callsite explicitly passed the root layer and paint dirty rect,
breaking them out of LayerPaintingInfo. This just passes in
LayerPaintingInfo. This is only a simple refactoring. No behavior change.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167643 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add partitionAllocActualSize() for predicting actual size of allocation

Similar to partitionAllocGetSize() but can be used before the allocation
has been performed.  Falls back to returning the size unchanged for
"impossible" cases, like when PartitionAlloc isn't actually used, or when
the size is too large to allocate.

R=cevans@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167644 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable compositing query asserts in FrameView::setTransparent.

Followup to r167636.

BUG=none
TBR=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167645 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused DatabaseObserver.h

BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167646 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused WorkerGlobalScope::m_domURL field.

The URL constructor is now available via the generated bindings.

R=mkwst@chromium.org
BUG=

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

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