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

Unified Diff: third_party/WebKit/Source/core/css/FontFaceSet.cpp

Issue 2812743003: Rename cleanup in comments in css/ directory. (Closed)
Patch Set: Created 3 years, 8 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
Index: third_party/WebKit/Source/core/css/FontFaceSet.cpp
diff --git a/third_party/WebKit/Source/core/css/FontFaceSet.cpp b/third_party/WebKit/Source/core/css/FontFaceSet.cpp
index dca0554bbf385d4712100c4408355d5bee010443..adb3661addc1b60059f59f4dea4c87cc689a62ee 100644
--- a/third_party/WebKit/Source/core/css/FontFaceSet.cpp
+++ b/third_party/WebKit/Source/core/css/FontFaceSet.cpp
@@ -158,7 +158,7 @@ AtomicString FontFaceSet::status() const {
}
void FontFaceSet::HandlePendingEventsAndPromisesSoon() {
- // m_asyncRunner will be automatically stopped on destruction.
+ // async_runner_ will be automatically stopped on destruction.
async_runner_->RunAsync();
}
@@ -246,10 +246,10 @@ void FontFaceSet::RemoveFromLoadingFonts(FontFace* font_face) {
ScriptPromise FontFaceSet::ready(ScriptState* script_state) {
if (ready_->GetState() != ReadyProperty::kPending &&
InActiveDocumentContext()) {
- // |m_ready| is already resolved, but there may be pending stylesheet
+ // |ready_| is already resolved, but there may be pending stylesheet
// changes and/or layout operations that may cause another font loads.
// So synchronously update style and layout here.
- // This may trigger font loads, and replace |m_ready| with a new Promise.
+ // This may trigger font loads, and replace |ready_| with a new Promise.
GetDocument()->UpdateStyleAndLayout();
}
return ready_->Promise(script_state->World());

Powered by Google App Engine
This is Rietveld 408576698