Title: [281773] trunk/Source/WebCore
- Revision
- 281773
- Author
- [email protected]
- Date
- 2021-08-30 13:43:59 -0700 (Mon, 30 Aug 2021)
Log Message
[LFC][IFC] Remove unused variables after r281744
https://bugs.webkit.org/show_bug.cgi?id=229677
Reviewed by Darin Adler.
Silence compiler warnings.
Covered by existing tests.
* display/css/DisplayBoxFactory.cpp:
(WebCore::Display::BoxFactory::displayBoxForTextRun const):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (281772 => 281773)
--- trunk/Source/WebCore/ChangeLog 2021-08-30 20:42:57 UTC (rev 281772)
+++ trunk/Source/WebCore/ChangeLog 2021-08-30 20:43:59 UTC (rev 281773)
@@ -1,3 +1,17 @@
+2021-08-30 Lauro Moura <[email protected]>
+
+ [LFC][IFC] Remove unused variables after r281744
+ https://bugs.webkit.org/show_bug.cgi?id=229677
+
+ Reviewed by Darin Adler.
+
+ Silence compiler warnings.
+
+ Covered by existing tests.
+
+ * display/css/DisplayBoxFactory.cpp:
+ (WebCore::Display::BoxFactory::displayBoxForTextRun const):
+
2021-08-30 Sihui Liu <[email protected]>
Add stubs for Permissions API
Modified: trunk/Source/WebCore/display/css/DisplayBoxFactory.cpp (281772 => 281773)
--- trunk/Source/WebCore/display/css/DisplayBoxFactory.cpp 2021-08-30 20:42:57 UTC (rev 281772)
+++ trunk/Source/WebCore/display/css/DisplayBoxFactory.cpp 2021-08-30 20:43:59 UTC (rev 281773)
@@ -145,9 +145,8 @@
std::unique_ptr<Box> BoxFactory::displayBoxForTextRun(const Layout::LineRun& run, const Layout::LineGeometry& lineGeometry, const ContainingBlockContext& containingBlockContext) const
{
+ UNUSED_PARAM(lineGeometry);
ASSERT(run.text());
- auto lineRect = lineGeometry.lineBoxLogicalRect();
- auto lineLayoutRect = LayoutRect { lineRect.left(), lineRect.top(), lineRect.width(), lineRect.height() };
auto runRect = LayoutRect { run.logicalLeft(), run.logicalTop(), run.logicalWidth(), run.logicalHeight() };
runRect.move(containingBlockContext.offsetFromRoot);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes