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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2612903007: Migrate WTF::Vector::append() to ::push_back() [part 15 of N] (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 410
411 return scale; 411 return scale;
412 } 412 }
413 413
414 private: 414 private:
415 void dispatchEventsForPrintingOnAllFrames() { 415 void dispatchEventsForPrintingOnAllFrames() {
416 HeapVector<Member<Document>> documents; 416 HeapVector<Member<Document>> documents;
417 for (Frame* currentFrame = frame(); currentFrame; 417 for (Frame* currentFrame = frame(); currentFrame;
418 currentFrame = currentFrame->tree().traverseNext(frame())) { 418 currentFrame = currentFrame->tree().traverseNext(frame())) {
419 if (currentFrame->isLocalFrame()) 419 if (currentFrame->isLocalFrame())
420 documents.append(toLocalFrame(currentFrame)->document()); 420 documents.push_back(toLocalFrame(currentFrame)->document());
421 } 421 }
422 422
423 for (auto& doc : documents) 423 for (auto& doc : documents)
424 doc->dispatchEventsForPrinting(); 424 doc->dispatchEventsForPrinting();
425 } 425 }
426 426
427 // Set when printing. 427 // Set when printing.
428 float m_printedPageWidth; 428 float m_printedPageWidth;
429 }; 429 };
430 430
(...skipping 1930 matching lines...) Expand 10 before | Expand all | Expand 10 after
2361 ->frameScheduler() 2361 ->frameScheduler()
2362 ->unthrottledTaskRunner() 2362 ->unthrottledTaskRunner()
2363 ->toSingleThreadTaskRunner(); 2363 ->toSingleThreadTaskRunner();
2364 } 2364 }
2365 2365
2366 WebInputMethodControllerImpl* WebLocalFrameImpl::inputMethodController() const { 2366 WebInputMethodControllerImpl* WebLocalFrameImpl::inputMethodController() const {
2367 return m_inputMethodController.get(); 2367 return m_inputMethodController.get();
2368 } 2368 }
2369 2369
2370 } // namespace blink 2370 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebIDBKey.cpp ('k') | third_party/WebKit/Source/web/WebSearchableFormData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698