Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: Source/core/page/Page.cpp

Issue 225843002: Oilpan: move ClientRect and its list to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + code style Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R ights Reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R ights Reserved.
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 } 191 }
192 192
193 String Page::mainThreadScrollingReasonsAsText() 193 String Page::mainThreadScrollingReasonsAsText()
194 { 194 {
195 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator( )) 195 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator( ))
196 return scrollingCoordinator->mainThreadScrollingReasonsAsText(); 196 return scrollingCoordinator->mainThreadScrollingReasonsAsText();
197 197
198 return String(); 198 return String();
199 } 199 }
200 200
201 PassRefPtr<ClientRectList> Page::nonFastScrollableRects(const LocalFrame* frame) 201 PassRefPtrWillBeRawPtr<ClientRectList> Page::nonFastScrollableRects(const LocalF rame* frame)
202 { 202 {
203 if (Document* document = m_mainFrame->document()) 203 if (Document* document = m_mainFrame->document())
204 document->updateLayout(); 204 document->updateLayout();
205 205
206 Vector<IntRect> rects; 206 Vector<IntRect> rects;
207 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator( )) 207 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator( ))
208 rects = scrollingCoordinator->computeShouldHandleScrollGestureOnMainThre adRegion(frame, IntPoint()).rects(); 208 rects = scrollingCoordinator->computeShouldHandleScrollGestureOnMainThre adRegion(frame, IntPoint()).rects();
209 209
210 Vector<FloatQuad> quads(rects.size()); 210 Vector<FloatQuad> quads(rects.size());
211 for (size_t i = 0; i < rects.size(); ++i) 211 for (size_t i = 0; i < rects.size(); ++i)
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 , spellCheckerClient(0) 542 , spellCheckerClient(0)
543 , storageClient(0) 543 , storageClient(0)
544 { 544 {
545 } 545 }
546 546
547 Page::PageClients::~PageClients() 547 Page::PageClients::~PageClients()
548 { 548 {
549 } 549 }
550 550
551 } // namespace WebCore 551 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698