5#include "flutter/lib/ui/volatile_path_tracker.h"
14 : ui_task_runner_(
std::move(ui_task_runner)), enabled_(enabled) {}
21 path->path.setIsVolatile(
false);
24 paths_.push_back(
path);
33 paths_.erase(std::remove_if(paths_.begin(), paths_.end(),
34 [](
const std::weak_ptr<TrackedPath>& weak_path) {
35 auto path = weak_path.lock();
41 path->path.setIsVolatile(false);
42 path->tracking_volatility = false;
void Track(const std::shared_ptr< TrackedPath > &path)
static constexpr int kFramesOfVolatility
VolatilePathTracker(fml::RefPtr< fml::TaskRunner > ui_task_runner, bool enabled)
virtual bool RunsTasksOnCurrentThread()
#define FML_DCHECK(condition)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path