Skip to content

Commit

Permalink
Return the tile generation thread to default priority.
Browse files Browse the repository at this point in the history
With this partial revert of ececd48 , single core devices can't have tile generation starved by javascript/plugins.

bug:5746432
Change-Id: I42b5799f4ba136e1c6f9812219824d21390bace2
  • Loading branch information
ChrisCraik committed Jan 4, 2012
1 parent 599c05f commit 41aebb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebCore/platform/graphics/android/TilesManager.cpp
Expand Up @@ -113,7 +113,7 @@ TilesManager::TilesManager()
m_tilesTextures.reserveCapacity(MAX_TEXTURE_ALLOCATION);
m_availableTilesTextures.reserveCapacity(MAX_TEXTURE_ALLOCATION);
m_pixmapsGenerationThread = new TexturesGenerator();
m_pixmapsGenerationThread->run("TexturesGenerator", android::PRIORITY_BACKGROUND);
m_pixmapsGenerationThread->run("TexturesGenerator");
}

void TilesManager::allocateTiles()
Expand Down

0 comments on commit 41aebb2

Please sign in to comment.