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

Side by Side Diff: Source/core/layout/line/InlineFlowBox.cpp

Issue 1179723002: Store glyph bounds in WordMeasurement to avoid slow path width calc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/line/GlyphOverflow.h ('k') | Source/core/layout/line/RootInlineBox.cpp » ('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) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
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 13 matching lines...) Expand all
24 #include "core/dom/Document.h" 24 #include "core/dom/Document.h"
25 #include "core/layout/HitTestResult.h" 25 #include "core/layout/HitTestResult.h"
26 #include "core/layout/LayoutBlock.h" 26 #include "core/layout/LayoutBlock.h"
27 #include "core/layout/LayoutInline.h" 27 #include "core/layout/LayoutInline.h"
28 #include "core/layout/LayoutListMarker.h" 28 #include "core/layout/LayoutListMarker.h"
29 #include "core/layout/LayoutObjectInlines.h" 29 #include "core/layout/LayoutObjectInlines.h"
30 #include "core/layout/LayoutRubyBase.h" 30 #include "core/layout/LayoutRubyBase.h"
31 #include "core/layout/LayoutRubyRun.h" 31 #include "core/layout/LayoutRubyRun.h"
32 #include "core/layout/LayoutRubyText.h" 32 #include "core/layout/LayoutRubyText.h"
33 #include "core/layout/LayoutView.h" 33 #include "core/layout/LayoutView.h"
34 #include "core/layout/line/GlyphOverflow.h"
34 #include "core/layout/line/InlineTextBox.h" 35 #include "core/layout/line/InlineTextBox.h"
35 #include "core/layout/line/RootInlineBox.h" 36 #include "core/layout/line/RootInlineBox.h"
36 #include "core/paint/BoxPainter.h" 37 #include "core/paint/BoxPainter.h"
37 #include "core/paint/InlineFlowBoxPainter.h" 38 #include "core/paint/InlineFlowBoxPainter.h"
38 #include "core/style/ShadowList.h" 39 #include "core/style/ShadowList.h"
39 #include "platform/fonts/Font.h" 40 #include "platform/fonts/Font.h"
40 #include "platform/graphics/GraphicsContextStateSaver.h" 41 #include "platform/graphics/GraphicsContextStateSaver.h"
41 42
42 #include <math.h> 43 #include <math.h>
43 44
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after
1310 ASSERT(child->prevOnLine() == prev); 1311 ASSERT(child->prevOnLine() == prev);
1311 prev = child; 1312 prev = child;
1312 } 1313 }
1313 ASSERT(prev == m_lastChild); 1314 ASSERT(prev == m_lastChild);
1314 #endif 1315 #endif
1315 } 1316 }
1316 1317
1317 #endif 1318 #endif
1318 1319
1319 } // namespace blink 1320 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/layout/line/GlyphOverflow.h ('k') | Source/core/layout/line/RootInlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698