Avoid modification during iteration in StyleSheetContents::startLoadingDynamicSheet.

Also remove oilpan related comment in checkLoaded that is no longer
valid with the split in completed and loading clients. The copy to
a vector guards against modification during iteration and will be
needed with oilpan as well.

R=esprehn@chromium.org, tasak@chromium.org
BUG=352941

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169346 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Allow frames to be free'd even for static images (https://codereview.chromium.org/136503002/)

Reason for revert:
May have caused issue 350653.

Original issue's description:
> Allow frames to be free'd even for static images
> 
> r151702 added limit for pruning in ImageDecoded::clearCacheExceptFrame,
> which would disallow pruning single-frame/static images altogether.
> 
> Allow such images to be pruned in their entirety by dropping the
> condition for <= 1 frames - the for-loop will handle the kNotFound case.
> 
> (Also related is r156651, which re-added the destroyAll flag.)
> 
> Modify the ImageFrameGeneratorTest.frameHasAlpha unittest to use frame 0
> instead of frame 1, to avoid clearing frame 1 (MockImageDecoder
> maps all indices to frame 0.)
> 
> R=hclam@chromium.org,pkasting@chromium.org,senorblanco@chromium.org
> BUG=302851
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165127

TBR=hclam@chromium.org,pkasting@chromium.org,senorblanco@chromium.org,jochen@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=302851

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169347 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: simpleSelector should not contain nth-child specificity

This patch fixes DOMPresentationUtils.simpleSelector method to not
include nth-child attribute.

BUG=349089

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168803

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169348 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify HeapSnapshot.aggregates implementation

BUG=None
R=alph@chromium.org

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

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