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

Side by Side Diff: Source/WebCore/rendering/RenderLineBoxList.cpp

Issue 12641003: Merge 144350 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 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/WebCore/rendering/RenderLayer.cpp ('k') | Source/WebCore/rendering/RenderListBox.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) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 if (lineIntersectsDirtyRect(renderer, curr, info, paintOffset)) { 260 if (lineIntersectsDirtyRect(renderer, curr, info, paintOffset)) {
261 RootInlineBox* root = curr->root(); 261 RootInlineBox* root = curr->root();
262 curr->paint(info, paintOffset, root->lineTop(), root->lineBottom()); 262 curr->paint(info, paintOffset, root->lineTop(), root->lineBottom());
263 } 263 }
264 } 264 }
265 265
266 if (info.phase == PaintPhaseOutline || info.phase == PaintPhaseSelfOutline | | info.phase == PaintPhaseChildOutlines) { 266 if (info.phase == PaintPhaseOutline || info.phase == PaintPhaseSelfOutline | | info.phase == PaintPhaseChildOutlines) {
267 ListHashSet<RenderInline*>::iterator end = info.outlineObjects->end(); 267 ListHashSet<RenderInline*>::iterator end = info.outlineObjects->end();
268 for (ListHashSet<RenderInline*>::iterator it = info.outlineObjects->begi n(); it != end; ++it) { 268 for (ListHashSet<RenderInline*>::iterator it = info.outlineObjects->begi n(); it != end; ++it) {
269 RenderInline* flow = *it; 269 RenderInline* flow = *it;
270 flow->paintOutline(info.context, paintOffset); 270 flow->paintOutline(info, paintOffset);
271 } 271 }
272 info.outlineObjects->clear(); 272 info.outlineObjects->clear();
273 } 273 }
274 } 274 }
275 275
276 bool RenderLineBoxList::hitTest(RenderBoxModelObject* renderer, const HitTestReq uest& request, HitTestResult& result, const HitTestLocation& locationInContainer , const LayoutPoint& accumulatedOffset, HitTestAction hitTestAction) const 276 bool RenderLineBoxList::hitTest(RenderBoxModelObject* renderer, const HitTestReq uest& request, HitTestResult& result, const HitTestLocation& locationInContainer , const LayoutPoint& accumulatedOffset, HitTestAction hitTestAction) const
277 { 277 {
278 if (hitTestAction != HitTestForeground) 278 if (hitTestAction != HitTestForeground)
279 return false; 279 return false;
280 280
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 ASSERT(child->prevLineBox() == prev); 405 ASSERT(child->prevLineBox() == prev);
406 prev = child; 406 prev = child;
407 } 407 }
408 ASSERT(prev == m_lastLineBox); 408 ASSERT(prev == m_lastLineBox);
409 #endif 409 #endif
410 } 410 }
411 411
412 #endif 412 #endif
413 413
414 } 414 }
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderLayer.cpp ('k') | Source/WebCore/rendering/RenderListBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698