Index: third_party/WebKit/Source/core/layout/LayoutBlock.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h |
index 10fb3ac050f007fcc526282aaf44b9835859037c..c0e7e50fc9ad90455c46f65b30712d77cc6dde30 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h |
@@ -276,9 +276,9 @@ public: |
// </div> |
// Returns the nearest enclosing block (including this block) that contributes a first-line style to our first line. |
- LayoutBlock* enclosingFirstLineStyleBlock() const; |
+ const LayoutBlock* enclosingFirstLineStyleBlock() const; |
// Returns this block or the nearest inner block containing the actual first line. |
- LayoutBlockFlow* nearestInnerBlockWithFirstLine() const; |
+ LayoutBlockFlow* nearestInnerBlockWithFirstLine(); |
protected: |
void willBeDestroyed() override; |