| OLD | NEW |
| 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 Loading... |
| 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, paintOffset); | 270 flow->paintOutline(info.context, 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 Loading... |
| 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 } |
| OLD | NEW |