[core] Trigger repaint on source changes

This commit is contained in:
Asheem Mamoowala
2017-06-14 15:44:42 -07:00
parent ca45974ff2
commit a33cad9855
4 changed files with 5 additions and 3 deletions

View File

@@ -518,7 +518,7 @@ TEST(Source, ImageSourceImageUpdate) {
response.data = std::make_unique<std::string>(util::read_file("test/fixtures/image/no_profile.png"));
return response;
};
test.styleObserver.sourceLoaded = [&] (Source&) {
test.styleObserver.sourceChanged = [&] (Source&) {
// Should be called (test will hang if it doesn't)
test.end();
};