Index: third_party/WebKit/Source/core/page/ChromeClient.cpp |
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.cpp b/third_party/WebKit/Source/core/page/ChromeClient.cpp |
index e1bc2306f4a1029dc9887b4374e5f40d31e65361..05238fe1cbbfb262c462aad2cbaf99cee8da6f50 100644 |
--- a/third_party/WebKit/Source/core/page/ChromeClient.cpp |
+++ b/third_party/WebKit/Source/core/page/ChromeClient.cpp |
@@ -180,7 +180,7 @@ void ChromeClient::setToolTip(LocalFrame& frame, const HitTestResult& result) { |
// implementations don't use text direction information for |
// ChromeClient::setToolTip. We'll work on tooltip text |
// direction during bidi cleanup in form inputs. |
- toolTipDirection = LTR; |
+ toolTipDirection = TextDirection::Ltr; |
} |
} |
} |
@@ -196,7 +196,7 @@ void ChromeClient::setToolTip(LocalFrame& frame, const HitTestResult& result) { |
void ChromeClient::clearToolTip(LocalFrame& frame) { |
// Do not check m_lastToolTip* and do not update them intentionally. |
// We don't want to show tooltips with same content after clearToolTip(). |
- setToolTip(frame, String(), LTR); |
+ setToolTip(frame, String(), TextDirection::Ltr); |
} |
bool ChromeClient::print(LocalFrame* frame) { |