Index: Source/core/page/PrintContext.cpp |
diff --git a/Source/core/page/PrintContext.cpp b/Source/core/page/PrintContext.cpp |
index 44325566a31d58df8b6036a51d948a2bba8981c8..aaa5885b784761a275bccc572d3f9c313f112364 100644 |
--- a/Source/core/page/PrintContext.cpp |
+++ b/Source/core/page/PrintContext.cpp |
@@ -299,7 +299,7 @@ String PrintContext::pageProperty(LocalFrame* frame, const char* propertyName, i |
PrintContext printContext(frame); |
printContext.begin(800); // Any width is OK here. |
document->updateLayout(); |
- RefPtr<LayoutStyle> style = document->styleForPage(pageNumber); |
+ RefPtr<ComputedStyle> style = document->styleForPage(pageNumber); |
// Implement formatters for properties we care about. |
if (!strcmp(propertyName, "margin-left")) { |