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

Unified Diff: Source/core/dom/Document.cpp

Issue 47623002: Fix more warnings on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix RenderImage.cpp. Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/DOMURLUtilsReadOnly.h ('k') | Source/core/dom/QualifiedName.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 8518bf998c9e67807636a52dd56604938a5e5e73..c576a465b4e2f011673a97f90a7280af40393d79 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -1627,12 +1627,10 @@ void Document::inheritHtmlAndBodyElementStyles(StyleRecalcChange change)
}
WritingMode rootWritingMode = documentElementStyle->writingMode();
- bool isHorizontalWritingMode = documentElementStyle->isHorizontalWritingMode();
TextDirection rootDirection = documentElementStyle->direction();
if (!writingModeSetOnDocumentElement() && body()) {
rootWritingMode = bodyStyle->writingMode();
- isHorizontalWritingMode = bodyStyle->isHorizontalWritingMode();
}
if (!directionSetOnDocumentElement() && body())
« no previous file with comments | « Source/core/dom/DOMURLUtilsReadOnly.h ('k') | Source/core/dom/QualifiedName.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698